It is. But the keyword Q_INVOKABLE should be put before virtual (according to QtC)