Calling static function through QMetaObject