summaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext/kvi_regchan.h
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/kvilib/ext/kvi_regchan.h
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/kvilib/ext/kvi_regchan.h')
-rw-r--r--src/kvilib/ext/kvi_regchan.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kvilib/ext/kvi_regchan.h b/src/kvilib/ext/kvi_regchan.h
index f447c313..65393918 100644
--- a/src/kvilib/ext/kvi_regchan.h
+++ b/src/kvilib/ext/kvi_regchan.h
@@ -35,7 +35,7 @@ class KVILIB_API KviRegisteredChannel : public KviHeapObject
{
friend class KviRegisteredChannelDataBase;
public:
- KviRegisteredChannel(const KviStr &name,const KviStr &netmask);
+ KviRegisteredChannel(const KviStr &name,const KviStr &nettqmask);
~KviRegisteredChannel();
protected:
KviStr m_szName;
@@ -45,9 +45,9 @@ public:
KviPointerHashTable<const char *,KviStr> * propertyDict(){ return m_pPropertyDict; };
const KviStr & name(){ return m_szName; };
const KviStr & netMask(){ return m_szNetMask; };
- KviStr * property(const char * name){ return m_pPropertyDict->find(name); };
+ KviStr * property(const char * name){ return m_pPropertyDict->tqfind(name); };
// val must be allocated with NEW!
- void setProperty(const char * name,KviStr * val){ m_pPropertyDict->replace(name,val); };
+ void setProperty(const char * name,KviStr * val){ m_pPropertyDict->tqreplace(name,val); };
void removeProperty(const char * name){ m_pPropertyDict->remove(name); };
};
@@ -62,8 +62,8 @@ protected:
KviPointerHashTable<const char *,KviRegisteredChannelList> * m_pChannelDict;
public:
KviPointerHashTable<const char *,KviRegisteredChannelList> * channelDict(){ return m_pChannelDict; };
- KviRegisteredChannel * find(const char * name,const char * net);
- KviRegisteredChannel * findExact(const char * name,const char * netmask);
+ KviRegisteredChannel * tqfind(const char * name,const char * net);
+ KviRegisteredChannel * findExact(const char * name,const char * nettqmask);
void remove(KviRegisteredChannel * c);
void add(KviRegisteredChannel * c);
void load(const char * filename);