Interfaces
kregexpeditorinterface.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __kregexpeditorinterface_h__
00024 #define __kregexpeditorinterface_h__
00025
00026 #include <QtCore/QString>
00027 #include <QtCore/QObject>
00028
00094 class KRegExpEditorInterface
00095 {
00096 public:
00101 virtual QString regExp() const = 0;
00102
00103 virtual ~KRegExpEditorInterface(){}
00104
00105 protected:
00106
00107
00111 virtual void canUndo( bool ) = 0;
00112
00116 virtual void canRedo( bool ) = 0;
00117
00124 virtual void changes( bool ) = 0;
00125
00126 public:
00127
00128
00133 virtual void setRegExp( const QString ®exp ) = 0;
00134 virtual void redo() = 0;
00135 virtual void undo() = 0;
00136
00144 virtual void setMatchText( const QString& ) = 0;
00145
00158 virtual void doSomething( QString method, void* arguments ) = 0;
00159 };
00160
00161 Q_DECLARE_INTERFACE(KRegExpEditorInterface, "org.kde.KRegExpEditorInterface/1.0")
00162
00163 #endif
00164