summaryrefslogtreecommitdiffstats
path: root/src/modules/logview/logviewwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/logview/logviewwidget.cpp
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
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
Diffstat (limited to 'src/modules/logview/logviewwidget.cpp')
-rw-r--r--src/modules/logview/logviewwidget.cpp14
1 files changed, 7 insertions, 7 deletions
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 <qsplitter.h>
-#include <qlayout.h>
-#include <qdir.h>
+#include <tqsplitter.h>
+#include <tqlayout.h>
+#include <tqdir.h>
//#include "kvi_debug.h"
#include "kvi_locale.h"
@@ -35,9 +35,9 @@
#ifdef COMPILE_ZLIB_SUPPORT
#include <zlib.h>
#endif
-#include <qtextcodec.h>
+#include <tqtextcodec.h>
-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)
{