summaryrefslogtreecommitdiffstats
path: root/src/kvirc/ui/kvi_actiondrawer.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-24 21:28:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-31 10:03:10 +0900
commit030a2248f3630fd0404df98beffc78b5b5ca4c31 (patch)
tree75d55e7e177ca48e69d59f74181ce37841ecd51b /src/kvirc/ui/kvi_actiondrawer.cpp
parent17118265cf93b35b0b68e450ea5f43046c1d81c3 (diff)
downloadkvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.tar.gz
kvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.zip
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kvirc/ui/kvi_actiondrawer.cpp')
-rw-r--r--src/kvirc/ui/kvi_actiondrawer.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/kvirc/ui/kvi_actiondrawer.cpp b/src/kvirc/ui/kvi_actiondrawer.cpp
index d4b02e0..2637d4d 100644
--- a/src/kvirc/ui/kvi_actiondrawer.cpp
+++ b/src/kvirc/ui/kvi_actiondrawer.cpp
@@ -35,15 +35,8 @@
//#include <tqscrollview.h>
#include <tqpainter.h>
#include <tqpixmap.h>
-#ifdef COMPILE_USE_QT4
- #include <tq3header.h>
- #include <tq3simplerichtext.h>
- #include <tqmime.h>
- #include <tqevent.h>
-#else
- #include <tqheader.h>
- #include <tqsimplerichtext.h>
-#endif
+#include <tqheader.h>
+#include <tqsimplerichtext.h>
#include "kvi_draganddrop.h"
@@ -64,11 +57,7 @@ KviActionDrawerPageListViewItem::KviActionDrawerPageListViewItem(KviTalListView
t += " <font color=\"#a0a0a0\">[" + __tr2qs("Script") + "]</font>";
t += "<br><font size=\"-1\">" + a->description()+ "</font>";
m_szKey = a->visibleName().upper();
-#ifdef COMPILE_USE_QT4
- m_pText = new Q3SimpleRichText(t,v->font());
-#else
m_pText = new TQSimpleRichText(t,v->font());
-#endif
TQPixmap * p = a->bigIcon();
m_pIcon = p ? new TQPixmap(*p) : new TQPixmap(LVI_ICON_SIZE,LVI_ICON_SIZE);
}