summaryrefslogtreecommitdiffstats
path: root/src/modules/log/libkvilog.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/log/libkvilog.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/log/libkvilog.cpp')
-rw-r--r--src/modules/log/libkvilog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/log/libkvilog.cpp b/src/modules/log/libkvilog.cpp
index 5e29e30d..d01bae6e 100644
--- a/src/modules/log/libkvilog.cpp
+++ b/src/modules/log/libkvilog.cpp
@@ -86,7 +86,7 @@
static bool log_kvs_cmd_start(KviKvsModuleCommandCall * c)
{
- QString szFile;
+ TQString szFile;
KVSM_PARAMETERS_BEGIN(c)
KVSM_PARAMETER("filename",KVS_PT_STRING,KVS_PF_OPTIONAL,szFile)
KVSM_PARAMETERS_END(c)
@@ -94,7 +94,7 @@ static bool log_kvs_cmd_start(KviKvsModuleCommandCall * c)
KviWindow * pWnd = c->window();
if(c->hasSwitch('w',"window"))
{
- QString szWindow;
+ TQString szWindow;
if(c->switches()->getAsStringIfExisting('w',"window",szWindow))
{
pWnd = g_pApp->findWindow(szWindow);
@@ -153,7 +153,7 @@ static bool log_kvs_cmd_stop(KviKvsModuleCommandCall * c)
KviWindow * pWnd = c->window();
if(c->hasSwitch('w',"window"))
{
- QString szWindow;
+ TQString szWindow;
if(c->switches()->getAsStringIfExisting('w',"window",szWindow))
{
pWnd = g_pApp->findWindow(szWindow);
@@ -206,7 +206,7 @@ static bool log_kvs_cmd_flush(KviKvsModuleCommandCall * c)
KviWindow * pWnd = c->window();
if(c->hasSwitch('w',"window"))
{
- QString szWindow;
+ TQString szWindow;
if(c->switches()->getAsStringIfExisting('w',"window",szWindow))
{
pWnd = g_pApp->findWindow(szWindow);
@@ -259,8 +259,8 @@ static bool log_kvs_cmd_flush(KviKvsModuleCommandCall * c)
static bool log_kvs_fnc_file(KviKvsModuleFunctionCall * c)
{
- QString szWindow;
- QString buffer;
+ TQString szWindow;
+ TQString buffer;
KVSM_PARAMETERS_BEGIN(c)
KVSM_PARAMETER("window id",KVS_PT_STRING,KVS_PF_OPTIONAL,szWindow)
KVSM_PARAMETERS_END(c)