diff options
author | Michele Calgaro <[email protected]> | 2023-11-24 10:47:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-24 10:47:33 +0900 |
commit | 7281cbd9fb8d1d9718cdd51d06cc7ff8a89510a5 (patch) | |
tree | 199a470cf41a322b4b290802da68b5d51795d9a7 | |
parent | 01aebec2b5e9485c00cb693973c653f0349176f3 (diff) | |
download | kile-7281cbd9fb8d1d9718cdd51d06cc7ff8a89510a5.tar.gz kile-7281cbd9fb8d1d9718cdd51d06cc7ff8a89510a5.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/kile/editorkeysequencemanager.cpp | 6 | ||||
-rw-r--r-- | src/kile/kilemultitabbar.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/kile/editorkeysequencemanager.cpp b/src/kile/editorkeysequencemanager.cpp index 30c7948..69bbc3e 100644 --- a/src/kile/editorkeysequencemanager.cpp +++ b/src/kile/editorkeysequencemanager.cpp @@ -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) { diff --git a/src/kile/kilemultitabbar.cpp b/src/kile/kilemultitabbar.cpp index 267ce17..cc9319e 100644 --- a/src/kile/kilemultitabbar.cpp +++ b/src/kile/kilemultitabbar.cpp @@ -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())); } |