summaryrefslogtreecommitdiffstats
path: root/krfb/krfb/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krfb/krfb/main.cpp')
-rw-r--r--krfb/krfb/main.cpp54
1 files changed, 27 insertions, 27 deletions
diff --git a/krfb/krfb/main.cpp b/krfb/krfb/main.cpp
index 3ec53e3f..a9c4a6c7 100644
--- a/krfb/krfb/main.cpp
+++ b/krfb/krfb/main.cpp
@@ -145,33 +145,33 @@ int main(int argc, char *argv[])
RFBController controller(config);
KRfbIfaceImpl dcopiface(&controller);
- TQObject::connect(&app, TQT_SIGNAL(lastWindowClosed()), // dont show passivepopup
- &trayicon, TQT_SLOT(prepareQuit()));
- TQObject::connect(&app, TQT_SIGNAL(lastWindowClosed()),
- &controller, TQT_SLOT(closeConnection()));
-
- TQObject::connect(&trayicon, TQT_SIGNAL(showManageInvitations()),
- config, TQT_SLOT(showManageInvitationsDialog()));
- TQObject::connect(&trayicon, TQT_SIGNAL(enableDesktopControl(bool)),
- &controller, TQT_SLOT(enableDesktopControl(bool)));
- TQObject::connect(&trayicon, TQT_SIGNAL(diconnectedMessageDisplayed()),
- &app, TQT_SLOT(quit()));
-
- TQObject::connect(&dcopiface, TQT_SIGNAL(exitApp()),
- &controller, TQT_SLOT(closeConnection()));
- TQObject::connect(&dcopiface, TQT_SIGNAL(exitApp()),
- &app, TQT_SLOT(quit()));
-
- TQObject::connect(&controller, TQT_SIGNAL(sessionRefused()),
- &app, TQT_SLOT(quit()));
- TQObject::connect(&controller, TQT_SIGNAL(sessionEstablished(TQString)),
- &trayicon, TQT_SLOT(showConnectedMessage(TQString)));
- TQObject::connect(&controller, TQT_SIGNAL(sessionFinished()),
- &trayicon, TQT_SLOT(showDisconnectedMessage()));
- TQObject::connect(&controller, TQT_SIGNAL(desktopControlSettingChanged(bool)),
- &trayicon, TQT_SLOT(setDesktopControlSetting(bool)));
- TQObject::connect(&controller, TQT_SIGNAL(quitApp()),
- &app, TQT_SLOT(quit()));
+ TQObject::connect(&app, TQ_SIGNAL(lastWindowClosed()), // dont show passivepopup
+ &trayicon, TQ_SLOT(prepareQuit()));
+ TQObject::connect(&app, TQ_SIGNAL(lastWindowClosed()),
+ &controller, TQ_SLOT(closeConnection()));
+
+ TQObject::connect(&trayicon, TQ_SIGNAL(showManageInvitations()),
+ config, TQ_SLOT(showManageInvitationsDialog()));
+ TQObject::connect(&trayicon, TQ_SIGNAL(enableDesktopControl(bool)),
+ &controller, TQ_SLOT(enableDesktopControl(bool)));
+ TQObject::connect(&trayicon, TQ_SIGNAL(diconnectedMessageDisplayed()),
+ &app, TQ_SLOT(quit()));
+
+ TQObject::connect(&dcopiface, TQ_SIGNAL(exitApp()),
+ &controller, TQ_SLOT(closeConnection()));
+ TQObject::connect(&dcopiface, TQ_SIGNAL(exitApp()),
+ &app, TQ_SLOT(quit()));
+
+ TQObject::connect(&controller, TQ_SIGNAL(sessionRefused()),
+ &app, TQ_SLOT(quit()));
+ TQObject::connect(&controller, TQ_SIGNAL(sessionEstablished(TQString)),
+ &trayicon, TQ_SLOT(showConnectedMessage(TQString)));
+ TQObject::connect(&controller, TQ_SIGNAL(sessionFinished()),
+ &trayicon, TQ_SLOT(showDisconnectedMessage()));
+ TQObject::connect(&controller, TQ_SIGNAL(desktopControlSettingChanged(bool)),
+ &trayicon, TQ_SLOT(setDesktopControlSetting(bool)));
+ TQObject::connect(&controller, TQ_SIGNAL(quitApp()),
+ &app, TQ_SLOT(quit()));
sigset_t sigs;
sigemptyset(&sigs);