From 32073e28f0e425c066e65f3fc6a3101feab22598 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 21 Aug 2010 02:35:53 +0000 Subject: More TQt functionality in place for Qt4... git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1166130 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- qtinterface/tqpopupmenu.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'qtinterface/tqpopupmenu.cpp') diff --git a/qtinterface/tqpopupmenu.cpp b/qtinterface/tqpopupmenu.cpp index 3d370f8..6ee632c 100644 --- a/qtinterface/tqpopupmenu.cpp +++ b/qtinterface/tqpopupmenu.cpp @@ -21,3 +21,23 @@ Boston, MA 02110-1301, USA. #include #include + +#ifdef USE_QT4 + +void Q3PopupMenu::changeItem( int id, const QString &text ) { + changeItem( text, id ); +} + +void Q3PopupMenu::changeItem( const QString &text, int id ) { + changeItem( text, id ); +} + +void Q3PopupMenu::changeItem( const QPixmap &pixmap, int id ) { + changeItem( pixmap, id ); +} + +void Q3PopupMenu::changeItem( const QIconSet &icon, const QString &text, int id ) { + changeItem( icon, text, id ); +} + +#endif \ No newline at end of file -- cgit v1.2.3