summaryrefslogtreecommitdiffstats
path: root/src/modules/context/libkvicontext.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/context/libkvicontext.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/context/libkvicontext.cpp')
-rw-r--r--src/modules/context/libkvicontext.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/context/libkvicontext.cpp b/src/modules/context/libkvicontext.cpp
index a6a3bb97..3321350b 100644
--- a/src/modules/context/libkvicontext.cpp
+++ b/src/modules/context/libkvicontext.cpp
@@ -306,19 +306,19 @@ static bool context_kvs_fnc_state(KviKvsModuleFunctionCall * c)
switch(pConsole->ircContext()->state())
{
case KviIrcContext::Idle:
- c->returnValue()->setString(QString("idle"));
+ c->returnValue()->setString(TQString("idle"));
break;
case KviIrcContext::Connecting:
- c->returnValue()->setString(QString("connecting"));
+ c->returnValue()->setString(TQString("connecting"));
break;
case KviIrcContext::LoggingIn:
- c->returnValue()->setString(QString("loggingin"));
+ c->returnValue()->setString(TQString("loggingin"));
break;
case KviIrcContext::Connected:
- c->returnValue()->setString(QString("connected"));
+ c->returnValue()->setString(TQString("connected"));
break;
default:
- c->returnValue()->setString(QString("unknown"));
+ c->returnValue()->setString(TQString("unknown"));
break;
}
return true;