summaryrefslogtreecommitdiffstats
path: root/src/kvirc/kvs/kvi_kvs_treenode_localvariable.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/kvirc/kvs/kvi_kvs_treenode_localvariable.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/kvirc/kvs/kvi_kvs_treenode_localvariable.cpp')
-rw-r--r--src/kvirc/kvs/kvi_kvs_treenode_localvariable.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kvirc/kvs/kvi_kvs_treenode_localvariable.cpp b/src/kvirc/kvs/kvi_kvs_treenode_localvariable.cpp
index 95221ca..f98dfb4 100644
--- a/src/kvirc/kvs/kvi_kvs_treenode_localvariable.cpp
+++ b/src/kvirc/kvs/kvi_kvs_treenode_localvariable.cpp
@@ -27,7 +27,7 @@
#include "kvi_kvs_treenode_localvariable.h"
#include "kvi_kvs_runtimecontext.h"
-KviKvsTreeNodeLocalVariable::KviKvsTreeNodeLocalVariable(const QChar * pLocation,const QString &szIdentifier)
+KviKvsTreeNodeLocalVariable::KviKvsTreeNodeLocalVariable(const TQChar * pLocation,const TQString &szIdentifier)
: KviKvsTreeNodeVariable(pLocation,szIdentifier)
{
}
@@ -36,7 +36,7 @@ KviKvsTreeNodeLocalVariable::~KviKvsTreeNodeLocalVariable()
{
}
-void KviKvsTreeNodeLocalVariable::contextDescription(QString &szBuffer)
+void KviKvsTreeNodeLocalVariable::contextDescription(TQString &szBuffer)
{
#ifdef COMPILE_NEW_KVS
szBuffer = "Local Variable \"";
@@ -55,7 +55,7 @@ void KviKvsTreeNodeLocalVariable::dump(const char * prefix)
bool KviKvsTreeNodeLocalVariable::evaluateReadOnly(KviKvsRunTimeContext * c,KviKvsVariant * pBuffer)
{
#ifdef COMPILE_NEW_KVS
- KviKvsVariant * v = c->localVariables()->find(m_szIdentifier);
+ KviKvsVariant * v = c->localVariables()->tqfind(m_szIdentifier);
if(v)
{
pBuffer->copyFrom(v);