Back to index

kdeartwork  4.3.2
Public Member Functions | Protected Attributes
kScreenSaver Class Reference

#include <saver.h>

Inheritance diagram for kScreenSaver:
Inheritance graph

List of all members.

Public Member Functions

 kScreenSaver (Drawable drawable)
virtual ~kScreenSaver ()

Protected Attributes

Drawable mDrawable
GC mGc
unsigned mWidth
unsigned mHeight

Detailed Description

Definition at line 13 of file saver.h.

Constructor & Destructor Documentation

kScreenSaver::kScreenSaver ( Drawable  drawable)

Definition at line 13 of file saver.cpp.

                                            : QObject()
       Window root;
       int ai;
       unsigned int au;

       mDrawable = drawable;
       mGc = XCreateGC(QX11Info::display(), mDrawable, 0, 0);
       XGetGeometry(QX11Info::display(), mDrawable, &root, &ai, &ai,
              &mWidth, &mHeight, &au, &au); 

Definition at line 25 of file saver.cpp.

       XFreeGC(QX11Info::display(), mGc);

Member Data Documentation

Drawable kScreenSaver::mDrawable [protected]

Definition at line 21 of file saver.h.

GC kScreenSaver::mGc [protected]

Definition at line 22 of file saver.h.

unsigned kScreenSaver::mHeight [protected]

Definition at line 24 of file saver.h.

unsigned kScreenSaver::mWidth [protected]

Definition at line 23 of file saver.h.

The documentation for this class was generated from the following files: