diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
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); |