Back to index

kdeartwork  4.3.2
saver.h
Go to the documentation of this file.
00001 
00002 #ifndef __SAVER_H__
00003 #define __SAVER_H__
00004 
00005 #include <qobject.h>
00006 #include <X11/Xlib.h>
00007 
00008 extern void startScreenSaver( Drawable d );
00009 extern void stopScreenSaver();
00010 extern int setupScreenSaver();
00011 
00012 //-----------------------------------------------------------------------------
00013 class kScreenSaver : public QObject
00014 {
00015        Q_OBJECT
00016 public:
00017        kScreenSaver( Drawable drawable );
00018        virtual ~kScreenSaver();
00019 
00020 protected:
00021        Drawable mDrawable;
00022        GC mGc;
00023        unsigned mWidth;
00024        unsigned mHeight;
00025 };
00026 
00027 #endif
00028