From 4602a1a7ac1f4b2fd33bb1581f4eedd1edd65a9c Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 25 Sep 2012 13:15:57 +0000 Subject: qt5 support (sip): code only, no touch to build system by now git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6251 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/dcc/DccChatWindow.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/modules/dcc/DccChatWindow.cpp') diff --git a/src/modules/dcc/DccChatWindow.cpp b/src/modules/dcc/DccChatWindow.cpp index ff942d7bc..ac4180c6e 100644 --- a/src/modules/dcc/DccChatWindow.cpp +++ b/src/modules/dcc/DccChatWindow.cpp @@ -58,7 +58,6 @@ #include #include #include -#include //for Qt::escape #ifdef COMPILE_CRYPT_SUPPORT #include "KviCryptEngine.h" @@ -442,7 +441,7 @@ bool DccChatWindow::event(QEvent *e) QString szMsg = ""; szMsg += m_pDescriptor->szNick; szMsg += " "; - szMsg += Qt::escape(QString(d.ptr())); + szMsg += KviQString::toHtmlEscaped(QString(d.ptr())); //qDebug("KviIrcServerParser_ctcp.cpp:975 debug: %s",szMsg.data()); g_pApp->notifierMessage(this,KVI_OPTION_MSGTYPE(KVI_OUT_ACTION).pixId(),szMsg,KVI_OPTION_UINT(KviOption_uintNotifierAutoHideTime)); } @@ -496,7 +495,7 @@ bool DccChatWindow::event(QEvent *e) } if(KVI_OPTION_BOOL(KviOption_boolPopupNotifierOnNewDccChatMessages)) { - QString szMsg = Qt::escape(QString(d.ptr())); + QString szMsg = KviQString::toHtmlEscaped(QString(d.ptr())); g_pApp->notifierMessage(this,KviIconManager::DccChatMsg,szMsg,KVI_OPTION_UINT(KviOption_uintNotifierAutoHideTime)); } } @@ -887,7 +886,3 @@ out_of_the_loop: m_pMutex->unlock(); return bRet; } - -#ifndef COMPILE_USE_STANDALONE_MOC_SOURCES -#include "m_DccChatWindow.moc" -#endif //!COMPILE_USE_STANDALONE_MOC_SOURCES -- cgit v1.3.1-10-gc9f91