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 10:03:10 +0900 |
commit | 030a2248f3630fd0404df98beffc78b5b5ca4c31 (patch) | |
tree | 75d55e7e177ca48e69d59f74181ce37841ecd51b /src/kvirc/sparser/kvi_sp_literal.cpp | |
parent | 17118265cf93b35b0b68e450ea5f43046c1d81c3 (diff) | |
download | kvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.tar.gz kvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.zip |
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kvirc/sparser/kvi_sp_literal.cpp')
-rw-r--r-- | src/kvirc/sparser/kvi_sp_literal.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/kvirc/sparser/kvi_sp_literal.cpp b/src/kvirc/sparser/kvi_sp_literal.cpp index 00cfe7d..35d5095 100644 --- a/src/kvirc/sparser/kvi_sp_literal.cpp +++ b/src/kvirc/sparser/kvi_sp_literal.cpp @@ -72,11 +72,7 @@ //#include "kvi_iconmanager.h" #include <tqdatetime.h> -#ifdef COMPILE_USE_QT4 - #include <TQTextDocument> -#else #include <tqstylesheet.h> -#endif extern KviNickServRuleSet * g_pNickServRuleSet; @@ -916,11 +912,7 @@ void KviServerParser::parseLiteralPrivmsg(KviIrcMessage *msg) { // don't send the message to the notifier twice iFlags |= KviConsole::NoNotifier; - #ifdef COMPILE_USE_QT4 - TQString szMsg = TQt::escape(szMsgText); - #else TQString szMsg = TQStyleSheet::escape(szMsgText); - #endif //tqDebug("kvi_sp_literal.cpp:908 debug: %s",szMsg.data()); g_pApp->notifierMessage(query,KVI_SMALLICON_QUERYPRIVMSG,szMsg,1800); } @@ -1274,11 +1266,7 @@ void KviServerParser::parseLiteralNotice(KviIrcMessage *msg) { // don't send the message twice to the notifier iFlags |= KviConsole::NoNotifier; - #ifdef COMPILE_USE_QT4 - TQString szMsg = TQt::escape(szMsgText); - #else TQString szMsg = TQStyleSheet::escape(szMsgText); - #endif //tqDebug("kvi_sp_literal.cpp:908 debug: %s",szMsg.data()); g_pApp->notifierMessage(query,KVI_SMALLICON_QUERYNOTICE,szMsg,1800); } |