summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqpopupmenu.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-21 02:35:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-21 02:35:53 +0000
commit32073e28f0e425c066e65f3fc6a3101feab22598 (patch)
tree7e78a6f72b314bd555a49597c38ecabfc24a8714 /qtinterface/tqpopupmenu.cpp
parent90cbdd552d7ab58c8534b0f3d0980d5059adc422 (diff)
downloadtqtinterface-32073e28f0e425c066e65f3fc6a3101feab22598.tar.gz
tqtinterface-32073e28f0e425c066e65f3fc6a3101feab22598.zip
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
Diffstat (limited to 'qtinterface/tqpopupmenu.cpp')
-rw-r--r--qtinterface/tqpopupmenu.cpp20
1 files changed, 20 insertions, 0 deletions
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 <tqt.h>
#include <tqpopupmenu.h>
+
+#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