interfaces
kregexpeditorinterface.h
Go to the documentation of this file.00001 #ifndef __kregexpeditorinterface_h__
00002 #define __kregexpeditorinterface_h__
00003
00004 #include <qstring.h>
00005
00071 class KRegExpEditorInterface
00072 {
00073 public:
00078 virtual QString regExp() const = 0;
00079
00080 protected:
00081
00082
00086 virtual void canUndo( bool ) = 0;
00087
00091 virtual void canRedo( bool ) = 0;
00092
00099 virtual void changes( bool ) = 0;
00100
00101 public:
00102
00103
00108 virtual void setRegExp( const QString ®exp ) = 0;
00109 virtual void redo() = 0;
00110 virtual void undo() = 0;
00111
00119 virtual void setMatchText( const QString& ) = 0;
00120
00133 virtual void doSomething( QString method, void* arguments ) = 0;
00134 };
00135
00136 #endif
00137