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/modules/reguser/edituser.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/reguser/edituser.cpp') diff --git a/src/modules/reguser/edituser.cpp b/src/modules/reguser/edituser.cpp index 97019154..66e89d18 100644 --- a/src/modules/reguser/edituser.cpp +++ b/src/modules/reguser/edituser.cpp @@ -171,7 +171,7 @@ void KviReguserPropertiesDialog::okClicked() TQString szValue = m_pTable->text(i,1); if((!szName.isEmpty()) && (!szValue.isEmpty())) { - m_pPropertyDict->tqreplace(szName,new TQString(szValue)); + m_pPropertyDict->replace(szName,new TQString(szValue)); } } @@ -725,7 +725,7 @@ void KviRegisteredUserEntryDialog::editAllPropertiesClicked() } else { KviStr szPath = m_pAvatar->path(); if(szPath.isEmpty())m_pPropertyDict->remove("avatar"); - else m_pPropertyDict->tqreplace("avatar",new TQString(szPath)); + else m_pPropertyDict->replace("avatar",new TQString(szPath)); } if(m_pNotifyCheck->isChecked()) @@ -734,7 +734,7 @@ void KviRegisteredUserEntryDialog::editAllPropertiesClicked() if(!szNicks.isEmpty()) { - m_pPropertyDict->tqreplace("notify",new TQString(szNicks)); + m_pPropertyDict->replace("notify",new TQString(szNicks)); } else { m_pPropertyDict->remove("notify"); } @@ -751,7 +751,7 @@ void KviRegisteredUserEntryDialog::editAllPropertiesClicked() } delete dlg; - TQString * notify = m_pPropertyDict->tqfind("notify"); + TQString * notify = m_pPropertyDict->find("notify"); bool bGotIt = false; if(notify) { @@ -765,7 +765,7 @@ void KviRegisteredUserEntryDialog::editAllPropertiesClicked() m_pNotifyNick->setEnabled(bGotIt); if(!bGotIt)m_pNotifyNick->setText(""); - TQString * avatar = m_pPropertyDict->tqfind("avatar"); + TQString * avatar = m_pPropertyDict->find("avatar"); bGotIt = false; if(avatar) { -- cgit v1.2.3