Mystical Groovy
17th September 2008, 16:28
Hey all, Ive created a menuBar for my widget, but i have this strange error with all items on menubar...
heres my code that creates the about item for the menubar.
QPopupMenu *help = new QPopupMenu( this );
help->insertItem( aboutIco, "About", this, SLOT(aboutMenuAction()));
in my .h file ive included under public slots section
"virtual void aboutMenuAction();"
but when i build the project the output says
QObject::connect: No such slot SlackpackWidget::aboutMenuAction()
duh.. this is strange!
can anyone plz help me?
heres my code that creates the about item for the menubar.
QPopupMenu *help = new QPopupMenu( this );
help->insertItem( aboutIco, "About", this, SLOT(aboutMenuAction()));
in my .h file ive included under public slots section
"virtual void aboutMenuAction();"
but when i build the project the output says
QObject::connect: No such slot SlackpackWidget::aboutMenuAction()
duh.. this is strange!
can anyone plz help me?