undodcopinterface.h

00001 #ifndef Undo_DCOP_INTERFACE_H
00002 #define Undo_DCOP_INTERFACE_H
00003 
00004 #include <dcopobject.h>
00005 #include <dcopref.h>
00006 #include <qstringlist.h>
00007 #include <qcstring.h>
00008 //#include "editdcopinterface.moc"
00009 namespace KTextEditor
00010 {
00011     class UndoInterface;
00018     class KTEXTEDITOR_EXPORT UndoDCOPInterface : virtual public DCOPObject
00019     {
00020     K_DCOP
00021 
00022     public:
00029         UndoDCOPInterface( UndoInterface *Parent, const char *name );
00034         virtual ~UndoDCOPInterface();
00035     k_dcop:
00036         uint undoInterfaceNumber ();
00037         void undo ();
00038         void redo () ;
00039         void clearUndo () ;
00040         void clearRedo () ;
00041         uint undoCount () ;
00042         uint redoCount ();
00043         uint undoSteps () ;
00044         void setUndoSteps ( uint steps );
00045         void undoChanged ();
00046     
00047     
00048     private:
00049         UndoInterface *m_parent;
00050     };
00051 }
00052 #endif
00053 
00054 
KDE Home | KDE Accessibility Home | Description of Access Keys