summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 19:48:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-09 10:57:16 +0900
commit9fe1e65bf42ceb3d5bf818624b2674ba5e10c1ed (patch)
treed9b923a151fdb07620f8e056bfaf044c87a08667 /src/main.cpp
parentd88c548dcfcafedab261a20eec043da0cf4e88e3 (diff)
downloadqalculate-tde-9fe1e65b.tar.gz
qalculate-tde-9fe1e65b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0075327cfd432d756fff5de46626067a3856948e)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b56623f..dc58a17 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -173,7 +173,7 @@ void start_qalculate() {
//check for calculation errros regularly
error_timer = new TQTimer(mainWin);
- TQObject::connect(error_timer, SIGNAL(timeout()), mainWin, SLOT(onErrorTimeout()));
+ TQObject::connect(error_timer, TQ_SIGNAL(timeout()), mainWin, TQ_SLOT(onErrorTimeout()));
generate_units_tree_struct();
generate_functions_tree_struct();
@@ -212,8 +212,8 @@ void start_qalculate() {
pthread_attr_init(&command_thread_attr);
command_thread_started = false;
- TQObject::connect(tqApp, SIGNAL(lastWindowClosed()), tqApp, SLOT(quit()));
- TQObject::connect(tqApp, SIGNAL(aboutToQuit()), mainWin, SLOT(aboutToQuit()));
+ TQObject::connect(tqApp, TQ_SIGNAL(lastWindowClosed()), tqApp, TQ_SLOT(quit()));
+ TQObject::connect(tqApp, TQ_SIGNAL(aboutToQuit()), mainWin, TQ_SLOT(aboutToQuit()));
error_timer->start(100);