summaryrefslogtreecommitdiffstats
path: root/src/modules/actioneditor/actioneditor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit72aaee9802d447ee21340b011856b9b355a58f1a (patch)
treef97a68e4f75e6c25c8492e03fdfe6983fb0aa199 /src/modules/actioneditor/actioneditor.cpp
parent5d03948cd3558c613fae1fad109635f860babcbb (diff)
downloadkvirc-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/actioneditor/actioneditor.cpp')
-rw-r--r--src/modules/actioneditor/actioneditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/actioneditor/actioneditor.cpp b/src/modules/actioneditor/actioneditor.cpp
index d4206564..5957d901 100644
--- a/src/modules/actioneditor/actioneditor.cpp
+++ b/src/modules/actioneditor/actioneditor.cpp
@@ -427,7 +427,7 @@ void KviSingleActionEditor::setActionData(KviActionData * d)
for(i=0;i<m_pCategoryCombo->count();i++)
{
TQString t = m_pCategoryCombo->text(i);
- int idx = t.tqfindRev('(');
+ int idx = t.findRev('(');
TQString r = t.right(t.length() - (idx + 1));
TQString r2 = r.left(r.length() - 1);
r2.stripWhiteSpace();
@@ -572,10 +572,10 @@ void KviSingleActionEditor::commit()
m_pActionData->m_szSmallIcon = m_pSmallIconEdit->text();
m_pActionData->m_szKeySequence = m_pKeySequenceEdit->text();
TQString szCat = m_pCategoryCombo->currentText();
- int idx = szCat.tqfindRev(')');
+ int idx = szCat.findRev(')');
if(idx != -1)m_pActionData->m_szCategory = szCat.left(idx);
else m_pActionData->m_szCategory = szCat;
- idx = m_pActionData->m_szCategory.tqfindRev('(');
+ idx = m_pActionData->m_szCategory.findRev('(');
if(idx != -1)m_pActionData->m_szCategory.remove(0,idx+1);
m_pActionData->m_uFlags = 0;
if(m_pNeedsContextCheck->isChecked())
@@ -806,8 +806,8 @@ TQString KviActionEditor::nameForAutomaticAction(const TQString &szTemplate)
{
TQString ret;
TQString szT = szTemplate;
- szT.tqreplace(" ","");
- szT.tqreplace(".","_");
+ szT.replace(" ","");
+ szT.replace(".","_");
int i = 1;
do {