summaryrefslogtreecommitdiffstats
path: root/src/modules/perlcore/xs.inc
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/perlcore/xs.inc
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/perlcore/xs.inc')
-rw-r--r--src/modules/perlcore/xs.inc18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/perlcore/xs.inc b/src/modules/perlcore/xs.inc
index 5c31cb19..092e9369 100644
--- a/src/modules/perlcore/xs.inc
+++ b/src/modules/perlcore/xs.inc
@@ -41,7 +41,7 @@ XS(XS_KVIrc_echo)
} else {
pWnd = g_pCurrentKvsContext->window();
}
- pWnd->outputNoFmt(colorset,QString::fromUtf8(text));
+ pWnd->outputNoFmt(colorset,TQString::fromUtf8(text));
}
#line 47 "KVIrc.c"
}
@@ -74,7 +74,7 @@ XS(XS_KVIrc_say)
} else {
pWnd = g_pCurrentKvsContext->window();
}
- QString tmp = QString::fromUtf8(text);
+ TQString tmp = TQString::fromUtf8(text);
KviUserInput::parse(tmp,pWnd);
}
#line 81 "KVIrc.c"
@@ -108,7 +108,7 @@ XS(XS_KVIrc_internalWarning)
char * text = (char *)SvPV_nolen(ST(0));
#line 48 "KVIrc.xs"
if(!g_bExecuteQuiet)
- g_lWarningList.append(QString(text));
+ g_lWarningList.append(TQString(text));
#line 113 "KVIrc.c"
}
XSRETURN_EMPTY;
@@ -125,11 +125,11 @@ XS(XS_KVIrc_getLocal)
char * RETVAL;
dXSTARG;
#line 55 "KVIrc.xs"
- QString tmp;
+ TQString tmp;
KviStr hack;
if(g_pCurrentKvsContext)
{
- KviKvsVariant * pVar = g_pCurrentKvsContext->localVariables()->find(varname);
+ KviKvsVariant * pVar = g_pCurrentKvsContext->localVariables()->tqfind(varname);
if(pVar)
{
pVar->asString(tmp);
@@ -179,11 +179,11 @@ XS(XS_KVIrc_getGlobal)
char * RETVAL;
dXSTARG;
#line 88 "KVIrc.xs"
- QString tmp;
+ TQString tmp;
KviStr hack;
if(g_pCurrentKvsContext)
{
- KviKvsVariant * pVar = g_pCurrentKvsContext->globalVariables()->find(varname);
+ KviKvsVariant * pVar = g_pCurrentKvsContext->globalVariables()->tqfind(varname);
if(pVar)
{
pVar->asString(tmp);
@@ -236,9 +236,9 @@ XS(XS_KVIrc_eval)
if(g_pCurrentKvsContext && code)
{
KviKvsVariant ret;
- if(KviKvsScript::run(QString::fromUtf8(code),g_pCurrentKvsContext->window(),0,&ret))
+ if(KviKvsScript::run(TQString::fromUtf8(code),g_pCurrentKvsContext->window(),0,&ret))
{
- QString tmp;
+ TQString tmp;
ret.asString(tmp);
g_szLastReturnValue = tmp;
} else {