kregexpeditorinterface.h
#ifndef __kregexpeditorinterface_h__
#define __kregexpeditorinterface_h__
#include <qstring.h>
class KRegExpEditorInterface
{
public:
virtual QString regExp() const = 0;
protected:
// These are signals: in classes that actually implement the interface.
virtual void canUndo( bool ) = 0;
virtual void canRedo( bool ) = 0;
virtual void changes( bool ) = 0;
public:
// These are public slots: in classes that implement the interface.
virtual void setRegExp( const QString &regexp ) = 0;
virtual void redo() = 0;
virtual void undo() = 0;
virtual void setMatchText( const QString& ) = 0;
virtual void doSomething( QString method, void* arguments ) = 0;
};
#endif
KRegExpEditorInterface::changes
virtual void changes(bool)=0
This signal is emited whenever the regular expression changes.
KRegExpEditorInterface::setMatchText
virtual void setMatchText(const QString &)=0
Set text to use when showing matches.
KRegExpEditorInterface
A graphical editor for regular expressions.
Definition: kregexpeditorinterface.h:71
KRegExpEditorInterface::canRedo
virtual void canRedo(bool)=0
This signal tells whether redo is available.
KRegExpEditorInterface::canUndo
virtual void canUndo(bool)=0
This signal tells whether undo is available.
KRegExpEditorInterface::doSomething
virtual void doSomething(QString method, void *arguments)=0
This method allows for future changes that will not break binary compatibility.
KRegExpEditorInterface::regExp
virtual QString regExp() const =0
returns the regular expression of the editor in Qt3 QRegExp syntax.
KRegExpEditorInterface::setRegExp
virtual void setRegExp(const QString &regexp)=0
Set the regular expression for the editor.

KDE Home | KDE Accessibility Home | Description of Access Keys