summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-24 10:47:33 +0900
committerMichele Calgaro <[email protected]>2023-11-24 10:47:33 +0900
commit7281cbd9fb8d1d9718cdd51d06cc7ff8a89510a5 (patch)
tree199a470cf41a322b4b290802da68b5d51795d9a7
parent01aebec2b5e9485c00cb693973c653f0349176f3 (diff)
downloadkile-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.cpp6
-rw-r--r--src/kile/kilemultitabbar.cpp2
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()));
}