Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

glutm/kde.h

00001 //-----------------------------------------------------------------------------
00002 //
00003 // kmorph3d - port of "morph3d" from xlock
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 //#include <kglobal.h>
00014 //#include <qt.h>
00015 #include <qtimer.h>
00016 
00017 #include <X11/Xlib.h>
00018 
00019 // Adapted from kmorph3d
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 

Generated on Tue Nov 5 11:11:04 2002 for GLT by doxygen1.2.18