00001 /* 00002 00003 Greeter module for xdm 00004 00005 Copyright (C) 1997, 1998 Steffen Hansen <hansen@kde.org> 00006 Copyright (C) 2000-2003 Oswald Buddenhagen <ossi@kde.org> 00007 00008 00009 This program is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation; either version 2 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program; if not, write to the Free Software 00021 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00022 00023 */ 00024 00025 00026 #ifndef KGAPP_H 00027 #define KGAPP_H 00028 00029 #include <kapplication.h> 00030 00031 class GreeterApp : public KApplication { 00032 Q_OBJECT 00033 typedef KApplication inherited; 00034 00035 public: 00036 GreeterApp(); 00037 virtual bool x11EventFilter( XEvent * ); 00038 00039 protected: 00040 virtual void timerEvent( TQTimerEvent * ); 00041 00042 signals: 00043 void activity(); 00044 00045 private: 00046 int pingInterval; 00047 }; 00048 00049 #endif /* KGAPP_H */
1.6.1