|
|
|
@ -136,13 +136,13 @@ namespace KileEditorKeySequence {
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
if((*i).startsWith(seq)) {
|
|
|
|
|
return (*i == seq) ? tqMakePair<int, TQString>(1, seq) : tqMakePair<int, TQString>(2, *i);
|
|
|
|
|
return (*i == seq) ? qMakePair<int, TQString>(1, seq) : qMakePair<int, TQString>(2, *i);
|
|
|
|
|
}
|
|
|
|
|
if(!(*i).isEmpty() && seq.startsWith(*i)) {
|
|
|
|
|
return tqMakePair<int, TQString>(3, *i);
|
|
|
|
|
return qMakePair<int, TQString>(3, *i);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return tqMakePair<int, TQString>(0, TQString());
|
|
|
|
|
return qMakePair<int, TQString>(0, TQString());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Recorder::Recorder(Kate::View *view, Manager *manager) : TQObject(view), m_manager(manager), m_view(view) {
|
|
|
|
|