kregexpeditorinterface.h
00001 #ifndef __kregexpeditorinterface_h__ 00002 #define __kregexpeditorinterface_h__ 00003 00004 #include <tqstring.h> 00005 00071 class KRegExpEditorInterface 00072 { 00073 public: 00078 virtual TQString regExp() const = 0; 00079 00080 protected: 00081 // These are signals: in classes that actually implement the interface. 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 // These are public slots: in classes that implement the interface. 00103 00108 virtual void setRegExp( const TQString ®exp ) = 0; 00109 virtual void redo() = 0; 00110 virtual void undo() = 0; 00111 00119 virtual void setMatchText( const TQString& ) = 0; 00120 00133 virtual void doSomething( TQString method, void* arguments ) = 0; 00134 }; 00135 00136 #endif 00137