标签: qt function-pointers signals-slots
我不能声明* Q_OBJECT *哪个 SLOT 是函数上的指针,因为MOC无法编译它。 你能给我正确的实施吗?
public slots: void (*refMoveMethod) (Compound_object& object); ... QObject::connect(someTimer, SIGNAL(timout()), this, SLOT(refMoveMethos));