kivio
KIvioDocIface.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KIVIO_DOC_IFACE_H
00021 #define KIVIO_DOC_IFACE_H
00022
00023 #include <KoDocumentIface.h>
00024 #include <dcopref.h>
00025
00026 #include <qstring.h>
00027
00028 class KivioDoc;
00029
00030 class KIvioDocIface : virtual public KoDocumentIface
00031 {
00032 K_DCOP
00033 public:
00034 KIvioDocIface( KivioDoc *doc_ );
00035
00036 k_dcop:
00037 virtual DCOPRef map();
00038 void initConfig();
00039 void saveConfig();
00040 void setShowGrid( bool b );
00041 bool showGrid() const;
00042 int undoRedoLimit() const;
00043 void setUndoRedoLimit(int val);
00044 void snapToGrid( bool b );
00045 bool isSnapToGrid() const;
00046 private:
00047 KivioDoc *doc;
00048
00049 };
00050
00051 #endif
|