summaryrefslogtreecommitdiffstats
path: root/parts/replace/replacedlgimpl.h
blob: 38938bed2ee93c8838d5ab7f40df079e74b09494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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