kpresenter
KPrObjectIface.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef KPRESENTER_OBJ_IFACE_H
00023 #define KPRESENTER_OBJ_IFACE_H
00024
00025 #include <dcopobject.h>
00026 #include <dcopref.h>
00027
00028 #include <qstring.h>
00029 #include <qcolor.h>
00030
00031 class KPrObject;
00032
00033 class KPrObjectIface : public DCOPObject
00034 {
00035 K_DCOP
00036 public:
00037 KPrObjectIface( KPrObject *obj_ );
00038
00039 k_dcop:
00040 int getType() const;
00041
00043 void move( double x, double y );
00045 void resize( double width, double height );
00046
00047 bool isSelected() const;
00048 float angle() const;
00049 int shadowDistance() const;
00050 int shadowDirection() const;
00051 QColor shadowColor() const;
00052 int effect() const;
00053 int effect2() const;
00054 int appearStep() const;
00055 int subPresSteps() const;
00056 bool disappear() const;
00057 int disappearStep() const;
00058 int effect3() const;
00059
00060 void setEffect(const QString & effect);
00061 void setEffect3(const QString & effect);
00062
00063 void setSelected( bool _selected );
00064 void rotate( float _angle );
00065 void setShadowDistance( int _distance );
00066
00067 void shadowColor( const QColor & _color );
00068
00069 void setAppearTimer( int _appearTimer );
00070 void setDisappearTimer( int _disappearTimer );
00071
00072 void setAppearSoundEffect( bool b );
00073 void setDisappearSoundEffect( bool b );
00074 void setAppearSoundEffectFileName( const QString & _a_fileName );
00075 void setDisappearSoundEffectFileName( const QString &_d_fileName );
00076
00077 void setObjectName( const QString &_objectName );
00078
00079 void setAppearStep( int _appearStep );
00080
00081 void setDisappear( bool b );
00082
00083 int appearTimer() const;
00084 int disappearTimer() const;
00085 bool appearSoundEffect() const;
00086 bool disappearSoundEffect() const;
00087 QString appearSoundEffectFileName() const;
00088 QString disappearSoundEffectFileName() const;
00089 QString typeString() const;
00090
00091 void setProtected( bool b );
00092 bool isProtected() const;
00093
00094 void setKeepRatio( bool b );
00095 bool isKeepRatio() const;
00096
00097 private:
00098 KPrObject *obj;
00099 };
00100
00101 #endif
|