summaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext/kvi_regchan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/ext/kvi_regchan.cpp')
-rw-r--r--src/kvilib/ext/kvi_regchan.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/kvilib/ext/kvi_regchan.cpp b/src/kvilib/ext/kvi_regchan.cpp
index a26c5969..d5eff0a3 100644
--- a/src/kvilib/ext/kvi_regchan.cpp
+++ b/src/kvilib/ext/kvi_regchan.cpp
@@ -28,10 +28,10 @@
#include "kvi_config.h"
#include "kvi_qstring.h"
-KviRegisteredChannel::KviRegisteredChannel(const KviStr &name,const KviStr &netmask)
+KviRegisteredChannel::KviRegisteredChannel(const KviStr &name,const KviStr &nettqmask)
{
m_szName = name;
- m_szNetMask = netmask;
+ m_szNetMask = nettqmask;
m_pPropertyDict = new KviPointerHashTable<const char *,KviStr>(7,false,true);
m_pPropertyDict->setAutoDelete(true);
}
@@ -67,9 +67,9 @@ void KviRegisteredChannelDataBase::load(const char * filename)
KviRegisteredChannel * c = new KviRegisteredChannel(szChan,szMask);
add(c);
KviConfigGroupIterator sit(*d);
- while(QString * s = sit.current())
+ while(TQString * s = sit.current())
{
- c->setProperty(KviQString::toUtf8(sit.currentKey()).data(),new KviStr(*s));
+ c->setProperty(KviTQString::toUtf8(sit.currentKey()).data(),new KviStr(*s));
++sit;
}
++it;
@@ -99,9 +99,9 @@ void KviRegisteredChannelDataBase::save(const char * filename)
}
}
-KviRegisteredChannel * KviRegisteredChannelDataBase::find(const char * name,const char * net)
+KviRegisteredChannel * KviRegisteredChannelDataBase::tqfind(const char * name,const char * net)
{
- KviRegisteredChannelList * l = m_pChannelDict->find(name);
+ KviRegisteredChannelList * l = m_pChannelDict->tqfind(name);
if(!l)return 0;
for(KviRegisteredChannel * c = l->first();c;c = l->next())
{
@@ -111,20 +111,20 @@ KviRegisteredChannel * KviRegisteredChannelDataBase::find(const char * name,cons
return 0;
}
-KviRegisteredChannel * KviRegisteredChannelDataBase::findExact(const char * name,const char * netmask)
+KviRegisteredChannel * KviRegisteredChannelDataBase::findExact(const char * name,const char * nettqmask)
{
- KviRegisteredChannelList * l = m_pChannelDict->find(name);
+ KviRegisteredChannelList * l = m_pChannelDict->tqfind(name);
if(!l)return 0;
for(KviRegisteredChannel * c = l->first();c;c = l->next())
{
- if(kvi_strEqualCI(c->netMask().ptr(),netmask))return c;
+ if(kvi_strEqualCI(c->netMask().ptr(),nettqmask))return c;
}
return 0;
}
void KviRegisteredChannelDataBase::remove(KviRegisteredChannel * c)
{
- KviRegisteredChannelList * l = m_pChannelDict->find(c->name().ptr());
+ KviRegisteredChannelList * l = m_pChannelDict->tqfind(c->name().ptr());
if(!l)return;
for(KviRegisteredChannel * ch = l->first();ch;ch = l->next())
{
@@ -156,7 +156,7 @@ void KviRegisteredChannelDataBase::add(KviRegisteredChannel * c)
}
remove(old);
}
- KviRegisteredChannelList * l = m_pChannelDict->find(c->name().ptr());
+ KviRegisteredChannelList * l = m_pChannelDict->tqfind(c->name().ptr());
if(!l)
{
l = new KviRegisteredChannelList;