00001
00002
00003
00004
00005
00006 #ifndef GLUTM_KDE_H
00007 #define GLUTM_KDE_H
00008
00009 #include <glutm/config.h>
00010
00011 #if defined(GLUTM_SAVER) && defined(GLT_UNIX)
00012
00013
00014
00015 #include <qtimer.h>
00016
00017 #include <X11/Xlib.h>
00018
00019
00020
00021 class GlutMasterKdeSaver : public QObject
00022 {
00023 Q_OBJECT
00024 public:
00025 GlutMasterKdeSaver( Drawable drawable );
00026 virtual ~GlutMasterKdeSaver();
00027
00028 protected:
00029 void readSettings();
00030
00031 protected slots:
00032 void slotTimeout();
00033
00034 protected:
00035 Drawable _mDrawable;
00036 GC _mGc;
00037 unsigned _mWidth;
00038 unsigned _mHeight;
00039 QTimer _timer;
00040 int _colorContext;
00041 };
00042
00043 #endif
00044 #endif
00045