Sorry I won't have time to check your code today. Just a quick note:
in order to use Qt slots mechanism, your class should inherit from
QObject, and have the Q_OBJECT macro added into it.
Something like:
class MyFunctions : public QObject
{
Q_OBJECT
public: MyFunctions();
virtual ~MyFunctions();
virtual void init();
public slots:
void customShortcut();
};
Hum... maybe we should move this discussion to the mailing list and keep
this thread to the original bug.
Hi Gabriel,
Sorry I won't have time to check your code today. Just a quick note:
in order to use Qt slots mechanism, your class should inherit from
QObject, and have the Q_OBJECT macro added into it.
Something like:
class MyFunctions : public QObject
MyFunctions( );
{
Q_OBJECT
public:
virtual ~MyFunctions();
virtual void init();
public slots:
void customShortcut();
};
Hum... maybe we should move this discussion to the mailing list and keep
this thread to the original bug.