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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7281cbd9fb)
r14.1.x
Michele Calgaro 12 months ago
parent 9999c59bb7
commit 50df78ea79
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