kpresenter
KPrPixmapObjectIface.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KPPIXMAP_OBJECT_IFACE_H
00022 #define KPPIXMAP_OBJECT_IFACE_H
00023
00024 #include <dcopobject.h>
00025 #include <dcopref.h>
00026 #include "KPrObject2DIface.h"
00027 #include <qstring.h>
00028
00029 class KPrPixmapObject;
00030
00031 class KPrPixmapObjectIface : public KPrObject2DIface
00032 {
00033 K_DCOP
00034 public:
00035 KPrPixmapObjectIface( KPrPixmapObject *obj_ );
00036
00037 k_dcop:
00038 QString fileName() const;
00039 int depth() const;
00040 bool swapRGB() const;
00041 bool grayscale() const;
00042 int pictureMirrorType() const;
00043 int brightness() const;
00044
00045 void setDepth(int depth );
00046 void setBrightness(int bright );
00047 void setSwapRGB(bool swapRGB );
00048 void setGrayscale( bool grayscal );
00049 void loadImage( const QString & fileName );
00050 void setPictureMirrorType(const QString & _mirror);
00051
00052 private:
00053 KPrPixmapObject *obj;
00054 };
00055
00056 #endif
|