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/modules/reguser/edituser.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/modules/reguser/edituser.cpp')
-rw-r--r-- | src/modules/reguser/edituser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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) { |