Hi,
Say in a dialog i have a menu and i have added some actions to the menu
Qmenu
*menu
= new QMenu();
menu->addAction(addGroupAction);
menu->addAction(renameGroupAction);
Qmenu *menu = new QMenu();
QAction *addGroupAction = new QAction("ADD", this);
QAction *renameGroupAction = new QAction("RENAME", this);
menu->addAction(addGroupAction);
menu->addAction(renameGroupAction);
To copy to clipboard, switch view to plain text mode
No the question is
Whether the actions get deleted automatically when the menu is deleted.
and whether the menu is destroyed automatically when dialog is destoyed..
I mean have QT provided any such automatic garbage collection. or i have to do it explicitly by calling delete function.
Please help...
GK
Bookmarks