ksharedpixmap.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
#ifndef __KSharedPixmap_h_Included__
00015
#define __KSharedPixmap_h_Included__
00016
00017
#include <kpixmap.h>
00018
00019
#ifdef Q_WS_X11
00020
00021
#include <qstring.h>
00022
#include <qpixmap.h>
00023
#include <qwidget.h>
00024
00025
class KSharedPixmapPrivate;
00026
00052 class KDEUI_EXPORT KSharedPixmap:
00053
public QWidget,
00054
public KPixmap
00055 {
00056 Q_OBJECT
00057
00058
public:
00059
00063 KSharedPixmap();
00064
00068 ~KSharedPixmap();
00069
00083
bool loadFromShared(
const QString & name,
const QRect & rect=
QRect());
00084
00091
bool isAvailable(
const QString & name)
const;
00092
00093 signals:
00099
void done(
bool success);
00100
00101
protected:
00102
bool x11Event(XEvent *);
00103
00104
private:
00105
bool copy(
const QString &
id,
const QRect & rect);
00106
void init();
00107
00108 KSharedPixmapPrivate *d;
00109 };
00110
#else // WIN32, Qt Embedded
00111
00112
#define KSharedPixmap KPixmap
00113
#endif
00114
00115
#endif
This file is part of the documentation for kdeui Library Version 3.4.0.