summaryrefslogtreecommitdiffstats
path: root/src/modules/tip/libkvitip.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 16:31:47 +0900
commit7c3b44b81086c6b99f91e294c3b438dc808b47e2 (patch)
treed92d61649487df1a2fbd200d4ead11a7f16ba63f /src/modules/tip/libkvitip.cpp
parentcafbffba66b6ce809783ed1eb4d24aac6fe9701f (diff)
downloadkvirc-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/tip/libkvitip.cpp')
-rw-r--r--src/modules/tip/libkvitip.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/tip/libkvitip.cpp b/src/modules/tip/libkvitip.cpp
index a1cf6316..7ad6bf55 100644
--- a/src/modules/tip/libkvitip.cpp
+++ b/src/modules/tip/libkvitip.cpp
@@ -33,15 +33,8 @@
#include <tqpushbutton.h>
-#ifdef COMPILE_USE_QT4
-#include <tq3simplerichtext.h>
-#include <TQDesktopWidget>
-#include <TQCloseEvent>
-#define KviTalSimpleRichText Q3SimpleRichText
-#else
#include <tqsimplerichtext.h>
#define KviTalSimpleRichText TQSimpleRichText
-#endif
#include <tqfont.h>
#include <tqtextcodec.h>
@@ -64,11 +57,7 @@ KviTipFrame::KviTipFrame(TQWidget * par)
KviStr buffer;
g_pApp->findImage(buffer,"kvi_tip.png");
m_pTipPixmap = new TQPixmap(TQString(buffer.ptr()));
-#ifdef COMPILE_USE_QT4
- setBackgroundMode(TQt::NoBackground);
-#else
setBackgroundMode(TQWidget::NoBackground);
-#endif
setFrameStyle(TQFrame::Sunken | TQFrame::WinPanel);
}