summaryrefslogtreecommitdiffstats
path: root/src/kvirc/ui/kvi_actiondrawer.cpp
diff options
context:
space:
mode:
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);
}