karbon
karbon_part_iface.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __KARBON_PART_IFACE_H__
00021 #define __KARBON_PART_IFACE_H__
00022
00023
00024 #include <qstring.h>
00025
00026 #include <dcopref.h>
00027 #include <KoDocumentIface.h>
00028
00029
00030 class KarbonPart;
00031
00032
00033 class KarbonPartIface : virtual public KoDocumentIface
00034 {
00035 K_DCOP
00036
00037 public:
00038 KarbonPartIface( KarbonPart* part );
00039
00040 k_dcop:
00041 void selectAllObjects();
00042 void deselectAllObjects();
00043
00044 bool showStatusBar() const;
00045 void setShowStatusBar( bool b );
00046 void setUndoRedoLimit( int undo );
00047 void initConfig();
00048 void clearHistory();
00049 QString unitName() const;
00050 QString widthInUnits();
00051 QString heightInUnits();
00052 double width();
00053 double height();
00054
00055 int nbLayer() const;
00056 DCOPRef activeLayer();
00057
00058 private:
00059 KarbonPart* m_part;
00060 };
00061
00062 #endif
00063
|