diff options
author | Michele Calgaro <[email protected]> | 2023-11-24 10:47:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-24 22:31:47 +0900 |
commit | 50df78ea79ec4a51f0b92379f43bf063e3515c49 (patch) | |
tree | 199a470cf41a322b4b290802da68b5d51795d9a7 | |
parent | 9999c59bb7c9bec1a40328321c02286a5917304c (diff) | |
download | kile-50df78ea79ec4a51f0b92379f43bf063e3515c49.tar.gz kile-50df78ea79ec4a51f0b92379f43bf063e3515c49.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 7281cbd9fb8d1d9718cdd51d06cc7ff8a89510a5)
-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())); } |