summaryrefslogtreecommitdiffstats
path: root/src/kvilib/irc/kvi_useridentity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/irc/kvi_useridentity.cpp')
-rw-r--r--src/kvilib/irc/kvi_useridentity.cpp8
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;
}
}