diff options
Diffstat (limited to 'src/kile/editorkeysequencemanager.cpp')
-rw-r--r-- | src/kile/editorkeysequencemanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kile/editorkeysequencemanager.cpp b/src/kile/editorkeysequencemanager.cpp index 213b959..c50e5bf 100644 --- a/src/kile/editorkeysequencemanager.cpp +++ b/src/kile/editorkeysequencemanager.cpp @@ -33,7 +33,7 @@ namespace KileEditorKeySequence { if(seq.isEmpty()) { return; } - if(m_actionMap.tqfind(seq) == m_actionMap.end()) { + if(m_actionMap.find(seq) == m_actionMap.end()) { m_actionMap[seq] = action; m_watchedKeySequencesList.push_back(seq); emit watchedKeySequencesChanged(); @@ -45,7 +45,7 @@ namespace KileEditorKeySequence { if(seq.isEmpty()) { return; } - TQMap<TQString, Action*>::iterator it = m_actionMap.tqfind(seq); + TQMap<TQString, Action*>::iterator it = m_actionMap.find(seq); if(it != m_actionMap.end()) { delete (it.data()); m_actionMap.remove(it); @@ -60,7 +60,7 @@ namespace KileEditorKeySequence { if((*i).isEmpty()) { continue; } - TQMap<TQString, Action*>::iterator it = m_actionMap.tqfind(*i); + TQMap<TQString, Action*>::iterator it = m_actionMap.find(*i); if(it != m_actionMap.end()) { delete (it.data()); m_actionMap.remove(it); @@ -99,7 +99,7 @@ namespace KileEditorKeySequence { } Action* Manager::getAction(const TQString& seq) { - TQMap<TQString, Action*>::iterator i = m_actionMap.tqfind(seq); + TQMap<TQString, Action*>::iterator i = m_actionMap.find(seq); return (i == m_actionMap.end()) ? 0L : (*i); } @@ -180,7 +180,7 @@ bool Recorder::eventFilter(TQObject* /* o */, TQEvent *e) { bool Recorder::seekForKeySequence(const TQString& s) { for(uint i = 0; i < s.length(); ++i) { TQString toCheck = s.right(s.length() - i); - if(m_watchedKeySequencesList.tqcontains(toCheck) > 0) { + if(m_watchedKeySequencesList.contains(toCheck) > 0) { m_view->getDoc()->removeText(m_oldLine, m_oldCol-(s.length() - i - 1), m_oldLine, m_oldCol); m_typedSequence = TQString(); // clean m_typedSequence to avoid wrong action triggering if one presses keys without printable character emit detectedTypedKeySequence(toCheck); |