From 72aaee9802d447ee21340b011856b9b355a58f1a Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- src/kvilib/irc/kvi_ircuserdb.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kvilib/irc/kvi_ircuserdb.cpp') diff --git a/src/kvilib/irc/kvi_ircuserdb.cpp b/src/kvilib/irc/kvi_ircuserdb.cpp index bfc1c615..7fda2d12 100644 --- a/src/kvilib/irc/kvi_ircuserdb.cpp +++ b/src/kvilib/irc/kvi_ircuserdb.cpp @@ -114,7 +114,7 @@ KviIrcUserDataBase::~KviIrcUserDataBase() bool KviIrcUserDataBase::haveCustomColor(const TQString & nick) { - KviIrcUserEntry *u = tqfind(nick); + KviIrcUserEntry *u = find(nick); if(!u) return false; if( u->m_szLastRegisteredMatchNick!=nick) registeredUser(nick); @@ -127,7 +127,7 @@ bool KviIrcUserDataBase::haveCustomColor(const TQString & nick) TQColor* KviIrcUserDataBase::customColor(const TQString & nick) { - KviIrcUserEntry *u = tqfind(nick); + KviIrcUserEntry *u = find(nick); if(!u) return 0; if( u->m_szLastRegisteredMatchNick!=nick) registeredUser(nick); @@ -143,7 +143,7 @@ TQColor* KviIrcUserDataBase::customColor(const TQString & nick) KviRegisteredUser* KviIrcUserDataBase::registeredUser(const TQString & nick,const TQString & user,const TQString & host) { if(nick.isEmpty()) return 0; - KviIrcUserEntry *u = tqfind(nick); + KviIrcUserEntry *u = find(nick); if(!u) return g_pRegisteredUserDataBase->findMatchingUser(nick,user,host); KviRegisteredUser* pUser=0; @@ -189,7 +189,7 @@ KviRegisteredUser* KviIrcUserDataBase::registeredUser(const TQString & nick,cons KviRegisteredUser* KviIrcUserDataBase::registeredUser(const TQString & nick) { if(nick.isEmpty()) return 0; - KviIrcUserEntry *u = tqfind(nick); + KviIrcUserEntry *u = find(nick); if(!u) return 0; return registeredUser(nick,u->user(),u->host()); } @@ -203,7 +203,7 @@ void KviIrcUserDataBase::clear() KviIrcUserEntry * KviIrcUserDataBase::insertUser(const TQString &nick,const TQString &user,const TQString &hostname) { - KviIrcUserEntry * e = m_pDict->tqfind(nick); + KviIrcUserEntry * e = m_pDict->find(nick); if(e) { e->m_nRefs++; -- cgit v1.2.1