00001 /* 00002 00003 Copyright (C) 1999 Matthias Hoelzer-Kluepfel <hoelzer@kde.org> 00004 Copyright (C) 2002,2004 Oswald Buddenhagen <ossi@kde.org> 00005 00006 This program is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU General Public 00008 License version 2 as published by the Free Software Foundation. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; see the file COPYING. If not, write to 00017 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 Boston, MA 02110-1301, USA. 00019 00020 */ 00021 00022 #ifndef __KDMDESKTOP_H__ 00023 #define __KDMDESKTOP_H__ 00024 00025 00026 #include <kapplication.h> 00027 #include <tqtimer.h> 00028 00029 #include <bgrender.h> 00030 00031 00032 class MyApplication : public KApplication 00033 { 00034 Q_OBJECT 00035 00036 public: 00037 MyApplication( const char * ); 00038 00039 private slots: 00040 void renderDone(); 00041 void slotTimeout(); 00042 00043 private: 00044 KVirtualBGRenderer renderer; 00045 TQTimer timer; 00046 }; 00047 00048 #endif
1.6.1