diff options
Diffstat (limited to 'parts/replace/replacedlgimpl.h')
-rw-r--r-- | parts/replace/replacedlgimpl.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/parts/replace/replacedlgimpl.h b/parts/replace/replacedlgimpl.h new file mode 100644 index 00000000..38938bed --- /dev/null +++ b/parts/replace/replacedlgimpl.h @@ -0,0 +1,38 @@ + +#ifndef REPLACEDLGIMPL_H +#define REPLACEDLGIMPL_H + +#include "replacedlg.h" + +class QDialog; + +class ReplaceDlgImpl : public ReplaceDlg +{ + Q_OBJECT + +public: + ReplaceDlgImpl(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + ~ReplaceDlgImpl(); + + QRegExp expressionPattern(); + QString replacementString(); + +public slots: + void show( QString const & path ); + +protected: + +protected slots: + void showRegExpEditor(); + void validateExpression( const QString & ); + void validateFind( const QString & ); + void toggleExpression( bool ); + void saveComboHistories(); + +private: + QDialog * _regexp_dialog; + +}; + +#endif + |