Just a small request for better readable code: 
As usually in Qt the mandatory parameters should come first and QObject* pParent should be default to NULL. 
like e.g. QPushButton