diff options
Diffstat (limited to 'src/modules/actioneditor')
-rw-r--r-- | src/modules/actioneditor/actioneditor.cpp | 10 |
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 { |