summaryrefslogtreecommitdiffstats
path: root/src/newui
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:56:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:56:49 +0900
commitaefcba8280fc1520675866143baf2f8c020ec82e (patch)
tree2a60004ec9084f8560740d029a6adc2c637fd67e /src/newui
parent42d2a4fceca65d537b9454bb7de45029f89f4921 (diff)
downloadtdevelop-aefcba8280fc1520675866143baf2f8c020ec82e.tar.gz
tdevelop-aefcba8280fc1520675866143baf2f8c020ec82e.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/newui')
-rw-r--r--src/newui/button.cpp2
-rw-r--r--src/newui/docksplitter.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/newui/button.cpp b/src/newui/button.cpp
index ef572a2e..ea63ea51 100644
--- a/src/newui/button.cpp
+++ b/src/newui/button.cpp
@@ -229,7 +229,7 @@ TQSize Button::sizeHint(const TQString &text) 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()));
}
diff --git a/src/newui/docksplitter.cpp b/src/newui/docksplitter.cpp
index c3ca883b..3b447b80 100644
--- a/src/newui/docksplitter.cpp
+++ b/src/newui/docksplitter.cpp
@@ -166,8 +166,8 @@ TQPair<uint, uint> DockSplitter::indexOf(TQWidget *dock)
for (uint i = 0; i < m_docks.count(); ++i)
for (uint j = 0; j < m_docks[i].count(); ++j)
if (dock == m_docks[i][j])
- return tqMakePair(i, j);
- return tqMakePair(0u, 0u);
+ return qMakePair(i, j);
+ return qMakePair(0u, 0u);
}
}