Hi
I have created a GUI using kdevope 3 with kde libraries Now I want that when the users clicks the name in the menu bar(ie disconnect) the disconnectMe() function would be executed in my code.
I saw many examples on the net, but they all seem to use QT style connect & slot
Note: In order to insert the item I used
QPopupMenu *systemmenu = new QPopupMenu(this);
systemmenu->insertItem(i18n("Connect"),1);
where the 1 is just an index number.
Thanks alot