From 0a80cfd57d271dd44221467efb426675fa470356 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 18:31:12 +0000 Subject: TQt4 port kvirc This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/modules/logview/logviewwidget.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/modules/logview/logviewwidget.cpp') diff --git a/src/modules/logview/logviewwidget.cpp b/src/modules/logview/logviewwidget.cpp index fc5c8abc..31da5033 100644 --- a/src/modules/logview/logviewwidget.cpp +++ b/src/modules/logview/logviewwidget.cpp @@ -22,9 +22,9 @@ #include "logviewwidget.h" -#include -#include -#include +#include +#include +#include //#include "kvi_debug.h" #include "kvi_locale.h" @@ -35,9 +35,9 @@ #ifdef COMPILE_ZLIB_SUPPORT #include #endif -#include +#include -const QPixmap * KviLogListViewItemType::pixmap(int col) const +const TQPixmap * KviLogListViewItemType::pixmap(int col) const { switch(m_type) @@ -45,7 +45,7 @@ const QPixmap * KviLogListViewItemType::pixmap(int col) const case KviLogFile::Channel: return g_pIconManager->getSmallIcon(KVI_SMALLICON_CHANNEL); case KviLogFile::Query: - return g_pIconManager->getSmallIcon(KVI_SMALLICON_QUERY); + return g_pIconManager->getSmallIcon(KVI_SMALLICON_TQUERY); case KviLogFile::DccChat: return g_pIconManager->getSmallIcon(KVI_SMALLICON_DCCMSG); case KviLogFile::Console: @@ -55,7 +55,7 @@ const QPixmap * KviLogListViewItemType::pixmap(int col) const } } -QString KviLogListViewItemType::text(int col) const +TQString KviLogListViewItemType::text(int col) const { switch(m_type) { -- cgit v1.2.1