diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 72aaee9802d447ee21340b011856b9b355a58f1a (patch) | |
tree | f97a68e4f75e6c25c8492e03fdfe6983fb0aa199 /src/kvilib/irc/kvi_useridentity.cpp | |
parent | 5d03948cd3558c613fae1fad109635f860babcbb (diff) | |
download | kvirc-72aaee9802d447ee21340b011856b9b355a58f1a.tar.gz kvirc-72aaee9802d447ee21340b011856b9b355a58f1a.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kvilib/irc/kvi_useridentity.cpp')
-rw-r--r-- | src/kvilib/irc/kvi_useridentity.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kvilib/irc/kvi_useridentity.cpp b/src/kvilib/irc/kvi_useridentity.cpp index 67887e9c..4e3468df 100644 --- a/src/kvilib/irc/kvi_useridentity.cpp +++ b/src/kvilib/irc/kvi_useridentity.cpp @@ -148,7 +148,7 @@ const KviUserIdentity * KviUserIdentityManager::defaultIdentity() KviUserIdentity * ret; if(!m_szDefaultIdentity.isEmpty()) { - ret = m_pIdentityDict->tqfind(m_szDefaultIdentity); + ret = m_pIdentityDict->find(m_szDefaultIdentity); if(ret)return ret; } @@ -174,7 +174,7 @@ const KviUserIdentity * KviUserIdentityManager::defaultIdentity() ret->setPartMessage(KVI_DEFAULT_PART_MESSAGE); ret->setQuitMessage(KVI_DEFAULT_TQUIT_MESSAGE); - m_pIdentityDict->tqreplace(ret->id(),ret); + m_pIdentityDict->replace(ret->id(),ret); return ret; } @@ -198,7 +198,7 @@ void KviUserIdentityManager::load(const TQString &szFileName) KviUserIdentity * id = new KviUserIdentity(); if(id->load(cfg)) - m_pIdentityDict->tqreplace(id->id(),id); + m_pIdentityDict->replace(id->id(),id); else delete id; } @@ -232,7 +232,7 @@ void KviUserIdentityManager::copyFrom(KviUserIdentityManager * pWorkingCopy) { KviUserIdentity * pNew = new KviUserIdentity(); pNew->copyFrom(*id); - m_pIdentityDict->tqreplace(pNew->id(),pNew); + m_pIdentityDict->replace(pNew->id(),pNew); ++it; } } |