summaryrefslogtreecommitdiffstats
path: root/krdc/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-18 09:59:16 +0900
commit40393e30bb743346b6b40bf130da35419c12ebdc (patch)
tree9330d82486c7b3125b8275914565b324f9af523e /krdc/main.cpp
parent05594058244ba6a1866d5758ae412fb5afd6d727 (diff)
downloadtdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz
tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'krdc/main.cpp')
-rw-r--r--krdc/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/krdc/main.cpp b/krdc/main.cpp
index 1488df43..11106084 100644
--- a/krdc/main.cpp
+++ b/krdc/main.cpp
@@ -192,7 +192,7 @@ int MainController::main() {
}
void MainController::errorRestartRequested() {
- TQTimer::singleShot(0, this, TQT_SLOT(errorRestart()));
+ TQTimer::singleShot(0, this, TQ_SLOT(errorRestart()));
}
bool MainController::start() {
@@ -201,10 +201,10 @@ bool MainController::start() {
m_scale, m_localCursor, m_initialWindowSize);
m_app->setMainWidget(m_krdc);
- TQObject::connect(m_krdc, TQT_SIGNAL(disconnected()),
- m_app, TQT_SLOT(quit()));
- connect(m_krdc, TQT_SIGNAL(disconnectedError()),
- TQT_SLOT(errorRestartRequested()));
+ TQObject::connect(m_krdc, TQ_SIGNAL(disconnected()),
+ m_app, TQ_SLOT(quit()));
+ connect(m_krdc, TQ_SIGNAL(disconnectedError()),
+ TQ_SLOT(errorRestartRequested()));
return m_krdc->start();
}