In QT4, is there any member function for QPopupMenu that can replace `updateItem` in QT3?
I can't find any replacement in QT4, can anyone help me?void QPopupMenu::updateItem ( int id ) [virtual]
In QT4, is there any member function for QPopupMenu that can replace `updateItem` in QT3?
I can't find any replacement in QT4, can anyone help me?void QPopupMenu::updateItem ( int id ) [virtual]
What do u wanna do ?
I dont find QListBox class in Qt4. May be you can have a loot at QListWidget .
Also I see thta in Qt3 QListbox handled data and view. In Qt4 QListWidget represents the view, QTreeWidgetItem as data.
Thanks.........but........I am asking about QPopupMenu..........
Is there any relationship?
Since i m just porting old code, i don't really understand well...........
Am sorry for my asnwer. I searched popUpMenu function and saw it was in Q3ListBox, and i didnt pay attention to the class u gave.
Well As for QPopupMenu, in Qt4 class is QMenu. You may explore it acc to ur need.
From the docs -
The Q3PopupMenu class is a thin compatibility wrapper around QMenu.
Use QMenu in new applications. Note that the menu's actions must be Q3Actions.
Bookmarks