summaryrefslogtreecommitdiffstats
path: root/src/modules/perlcore/KVIrc.xs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/perlcore/KVIrc.xs')
-rw-r--r--src/modules/perlcore/KVIrc.xs18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/perlcore/KVIrc.xs b/src/modules/perlcore/KVIrc.xs
index 37b040cf..72ee5fd3 100644
--- a/src/modules/perlcore/KVIrc.xs
+++ b/src/modules/perlcore/KVIrc.xs
@@ -15,7 +15,7 @@ void echo(text,colorset = 0,windowid = 0)
} else {
pWnd = g_pCurrentKvsContext->window();
}
- pWnd->outputNoFmt(colorset,QString::fromUtf8(text));
+ pWnd->outputNoFmt(colorset,TQString::fromUtf8(text));
}
void say(text,windowid = 0)
@@ -32,7 +32,7 @@ void say(text,windowid = 0)
} else {
pWnd = g_pCurrentKvsContext->window();
}
- QString tmp = QString::fromUtf8(text);
+ TQString tmp = TQString::fromUtf8(text);
KviUserInput::parse(tmp,pWnd);
}
@@ -46,17 +46,17 @@ void internalWarning(text)
char * text
CODE:
if(!g_bExecuteQuiet)
- g_lWarningList.append(QString(text));
+ g_lWarningList.append(TQString(text));
char * getLocal(varname)
char * varname
CODE:
- 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);
@@ -85,11 +85,11 @@ void setLocal(varname,value)
char * getGlobal(varname)
char * varname
CODE:
- 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);
@@ -122,9 +122,9 @@ char * eval(code)
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 {