1

我不能声明具有SLOT函数指针的*Q_OBJECT*,因为 MOC 无法编译它。你能给我正确的实施吗?

public slots:
    void (*refMoveMethod) (Compound_object& object);
...

QObject::connect(someTimer, SIGNAL(timout()), this, SLOT(refMoveMethos));
4

0 回答 0