22 #include <tdeversion.h> 24 #include "mainwindowbase.moc" 31 void MainWindowBase::closeEvent(TQCloseEvent* ce) 33 disableQuit = theApp()->trayIconDisplayed(); 34 TDEMainWindow::closeEvent(ce); 43 bool MainWindowBase::queryExit() 45 #if KDE_IS_VERSION(3,1,90) 46 if (kapp->sessionSaving()) 49 return disableQuit ? false : TDEMainWindow::queryExit(); the KAlarm application object
|