interfaces Library API Documentation

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 UndoDCOPInterface : virtual public DCOPObject
00019     {
00020     K_DCOP
00021 
00022     public:
00028         UndoDCOPInterface( UndoInterface *Parent, const char *name );
00033         virtual ~UndoDCOPInterface();
00034     k_dcop:
00035         uint undoInterfaceNumber ();
00036         void undo ();
00037         void redo () ;
00038         void clearUndo () ;
00039         void clearRedo () ;
00040         uint undoCount () ;
00041         uint redoCount ();
00042         uint undoSteps () ;
00043         void setUndoSteps ( uint steps );
00044         void undoChanged ();
00045     
00046     
00047     private:
00048         UndoInterface *m_parent;
00049     };
00050 }
00051 #endif
00052 
00053 
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 27 22:16:14 2005 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001