summaryrefslogtreecommitdiffstats
path: root/src/kvirc/kvs/kvi_kvs_treenode_switchlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvirc/kvs/kvi_kvs_treenode_switchlist.cpp')
-rw-r--r--src/kvirc/kvs/kvi_kvs_treenode_switchlist.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/kvirc/kvs/kvi_kvs_treenode_switchlist.cpp b/src/kvirc/kvs/kvi_kvs_treenode_switchlist.cpp
index c821529c..32018c2a 100644
--- a/src/kvirc/kvs/kvi_kvs_treenode_switchlist.cpp
+++ b/src/kvirc/kvs/kvi_kvs_treenode_switchlist.cpp
@@ -27,7 +27,7 @@
#include "kvi_kvs_treenode_switchlist.h"
#include "kvi_kvs_runtimecontext.h"
-KviKvsTreeNodeSwitchList::KviKvsTreeNodeSwitchList(const QChar * pLocation)
+KviKvsTreeNodeSwitchList::KviKvsTreeNodeSwitchList(const TQChar * pLocation)
: KviKvsTreeNode(pLocation)
{
m_pShortSwitchDict = 0;
@@ -40,7 +40,7 @@ KviKvsTreeNodeSwitchList::~KviKvsTreeNodeSwitchList()
if(m_pLongSwitchDict)delete m_pLongSwitchDict;
}
-void KviKvsTreeNodeSwitchList::contextDescription(QString &szBuffer)
+void KviKvsTreeNodeSwitchList::contextDescription(TQString &szBuffer)
{
szBuffer = "Switch List Evaluation";
}
@@ -54,9 +54,9 @@ void KviKvsTreeNodeSwitchList::dump(const char * prefix)
KviPointerHashTableIterator<int,KviKvsTreeNodeData> it(*m_pShortSwitchDict);
while(it.current())
{
- QString tmp = prefix;
+ TQString tmp = prefix;
tmp.append(" Sw(");
- QChar c((unsigned short)it.currentKey());
+ TQChar c((unsigned short)it.currentKey());
tmp.append(c);
tmp.append("): ");
it.current()->dump(tmp.utf8().data());
@@ -65,10 +65,10 @@ void KviKvsTreeNodeSwitchList::dump(const char * prefix)
}
if(m_pLongSwitchDict)
{
- KviPointerHashTableIterator<QString,KviKvsTreeNodeData> it(*m_pLongSwitchDict);
+ KviPointerHashTableIterator<TQString,KviKvsTreeNodeData> it(*m_pLongSwitchDict);
while(it.current())
{
- QString tmp = prefix;
+ TQString tmp = prefix;
tmp.append(" Sw(");
tmp.append(it.currentKey());
tmp.append("): ");
@@ -86,19 +86,19 @@ void KviKvsTreeNodeSwitchList::addShort(int iShortKey,KviKvsTreeNodeData * p)
m_pShortSwitchDict->setAutoDelete(true);
}
- m_pShortSwitchDict->replace(iShortKey,p);
+ m_pShortSwitchDict->tqreplace(iShortKey,p);
p->setParent(this);
}
-void KviKvsTreeNodeSwitchList::addLong(const QString &szLongKey,KviKvsTreeNodeData * p)
+void KviKvsTreeNodeSwitchList::addLong(const TQString &szLongKey,KviKvsTreeNodeData * p)
{
if(!m_pLongSwitchDict)
{
- m_pLongSwitchDict = new KviPointerHashTable<QString,KviKvsTreeNodeData>(11);
+ m_pLongSwitchDict = new KviPointerHashTable<TQString,KviKvsTreeNodeData>(11);
m_pLongSwitchDict->setAutoDelete(true);
}
- m_pLongSwitchDict->replace(szLongKey,p);
+ m_pLongSwitchDict->tqreplace(szLongKey,p);
p->setParent(this);
}
@@ -124,7 +124,7 @@ bool KviKvsTreeNodeSwitchList::evaluate(KviKvsRunTimeContext * c,KviKvsSwitchLis
}
if(m_pLongSwitchDict)
{
- KviPointerHashTableIterator<QString,KviKvsTreeNodeData> it(*m_pLongSwitchDict);
+ KviPointerHashTableIterator<TQString,KviKvsTreeNodeData> it(*m_pLongSwitchDict);
while(KviKvsTreeNodeData * d = it.current())
{
KviKvsVariant * v = new KviKvsVariant();
@@ -145,7 +145,7 @@ KviKvsTreeNodeData * KviKvsTreeNodeSwitchList::getStandardRebindingSwitch()
KviKvsTreeNodeData * d;
if(m_pShortSwitchDict)
{
- d = m_pShortSwitchDict->find('r');
+ d = m_pShortSwitchDict->tqfind('r');
if(d)
{
m_pShortSwitchDict->setAutoDelete(false);
@@ -156,7 +156,7 @@ KviKvsTreeNodeData * KviKvsTreeNodeSwitchList::getStandardRebindingSwitch()
}
if(m_pLongSwitchDict)
{
- d = m_pLongSwitchDict->find("rebind");
+ d = m_pLongSwitchDict->tqfind("rebind");
if(d)
{
m_pLongSwitchDict->setAutoDelete(false);