AutoUpdateManager::AutoUpdateManager() { system_shut_down_ = false; connect(&watcher_, SIGNAL(fileChanged(const QString&)), this, SLOT(onFileChanged(const QString&))); connect(qApp, SIGNAL(aboutToQuit()), this, SLOT(systemShutDown())); }
DaemonManager::DaemonManager() : ccnet_daemon_(0), seaf_daemon_(0), sync_client_(0) { conn_daemon_timer_ = new QTimer(this); connect(conn_daemon_timer_, SIGNAL(timeout()), this, SLOT(tryConnCcnet())); shutdown_process (kCcnetDaemonExecutable); system_shut_down_ = false; connect(qApp, SIGNAL(aboutToQuit()), this, SLOT(systemShutDown())); }
void _powerController::shutDown(){ systemShutDown(); }