change: change base class to QObject;
other minor changes.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>