diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-24 21:28:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-31 16:31:47 +0900 |
commit | 7c3b44b81086c6b99f91e294c3b438dc808b47e2 (patch) | |
tree | d92d61649487df1a2fbd200d4ead11a7f16ba63f /src/modules/objects/class_tabwidget.cpp | |
parent | cafbffba66b6ce809783ed1eb4d24aac6fe9701f (diff) | |
download | kvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.tar.gz kvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.zip |
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 030a2248f3630fd0404df98beffc78b5b5ca4c31)
Diffstat (limited to 'src/modules/objects/class_tabwidget.cpp')
-rw-r--r-- | src/modules/objects/class_tabwidget.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/modules/objects/class_tabwidget.cpp b/src/modules/objects/class_tabwidget.cpp index 3b768217..33d77841 100644 --- a/src/modules/objects/class_tabwidget.cpp +++ b/src/modules/objects/class_tabwidget.cpp @@ -216,11 +216,7 @@ bool KviKvsObject_tabwidget::functionaddTab(KviKvsObjectFunctionCall *c) TQPixmap * pix = g_pIconManager->getImage(szIcon); if(pix){ -#ifdef COMPILE_USE_QT4 - ((TQTabWidget *)widget())->addTab(((TQWidget *)(ob->object())),TQIconSet(*pix),szLabel); -#else ((TQTabWidget *)widget())->addTab(((TQWidget *)(ob->object())),TQIconSet(*pix,TQIconSet::Small),szLabel); -#endif } else((TQTabWidget *)widget())->addTab(((TQWidget *)(ob->object())),szLabel); return true; @@ -257,11 +253,7 @@ bool KviKvsObject_tabwidget::functioninsertTab(KviKvsObjectFunctionCall *c) } TQPixmap * pix = g_pIconManager->getImage(szIcon); if(pix){ - #ifdef COMPILE_USE_QT4 - ((TQTabWidget *)widget())->insertTab( ((TQWidget *)(ob->object())),TQIconSet(*pix),szLabel,uIndex); - #else ((TQTabWidget *)widget())->insertTab(((TQWidget *)(ob->object())),TQIconSet(*pix,TQIconSet::Small),szLabel,uIndex); - #endif } else ((TQTabWidget *)widget())->insertTab(((TQWidget *)(ob->object())),szLabel,uIndex); return true; @@ -499,11 +491,7 @@ bool KviKvsObject_tabwidget::functionchangeTab(KviKvsObjectFunctionCall *c) } TQPixmap * pix = g_pIconManager->getImage(szIcon); if(pix){ - #ifdef COMPILE_USE_QT4 - ((TQTabWidget *)widget())->changeTab(((TQWidget *)(ob->object())),TQIconSet(*pix),szLabel); - #else ((TQTabWidget *)widget())->changeTab(((TQWidget *)(ob->object())),TQIconSet(*pix,TQIconSet::Small),szLabel); - #endif } else ((TQTabWidget *)widget())->changeTab(((TQWidget *)(ob->object())),szLabel); return true; |