summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:46:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:46:40 +0900
commit6458ac1fee48f77706492026f50f2efb179ec827 (patch)
treef8a8601c317b259b72e8bd564a58e3037dc8eba4 /apps
parent0dbebe693d509d0c442ab3c95f9c3885dc136e2d (diff)
downloadktorrent-6458ac1fee48f77706492026f50f2efb179ec827.tar.gz
ktorrent-6458ac1fee48f77706492026f50f2efb179ec827.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'apps')
-rw-r--r--apps/ktorrent/main.cpp2
-rw-r--r--apps/ktorrent/newui/button.cpp2
-rw-r--r--apps/ktorrent/newui/docksplitter.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/ktorrent/main.cpp b/apps/ktorrent/main.cpp
index 748001a..a6b67c8 100644
--- a/apps/ktorrent/main.cpp
+++ b/apps/ktorrent/main.cpp
@@ -116,7 +116,7 @@ int main(int argc, char **argv)
// ignore SIGPIPE's
signal(SIGPIPE,SIG_IGN);
signal(SIGXFSZ,SIG_IGN);
- tqInstallMsgHandler( StupidWarningMessagesFromTQt );
+ qInstallMsgHandler( StupidWarningMessagesFromTQt );
TDEAboutData about("ktorrent", I18N_NOOP("KTorrent"), kt::VERSION_STRING, description,
TDEAboutData::License_GPL, "(C) 2005 -2008 Joris Guisson and Ivan Vasic", 0);
about.addAuthor("Joris Guisson", 0, "joris.guisson@gmail.com" );
diff --git a/apps/ktorrent/newui/button.cpp b/apps/ktorrent/newui/button.cpp
index e3c1730..89ed258 100644
--- a/apps/ktorrent/newui/button.cpp
+++ b/apps/ktorrent/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/apps/ktorrent/newui/docksplitter.cpp b/apps/ktorrent/newui/docksplitter.cpp
index fde09d8..115abf2 100644
--- a/apps/ktorrent/newui/docksplitter.cpp
+++ b/apps/ktorrent/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);
}
}