Replaced various '#define' with actual strings - part 3

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/14/head
Michele Calgaro 1 year ago
parent 01aebec2b5
commit 7281cbd9fb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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) {

@ -510,7 +510,7 @@ TQSize KileMultiTabBarButton::sizeHint() const
h = TQMAX(h, sz.height());
}
return (style().tqsizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)).
return (style().sizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)).
expandedTo(TQApplication::globalStrut()));
}

Loading…
Cancel
Save