summaryrefslogtreecommitdiffstats
path: root/parts/replace/replacedlgimpl.h
blob: f71adaa61282c42129a927f630dd2d425e3e6212 (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
39

#ifndef REPLACEDLGIMPL_H
#define REPLACEDLGIMPL_H

#include "replacedlg.h"

class TQDialog;

class ReplaceDlgImpl : public ReplaceDlg
{
    TQ_OBJECT
  

public:
    ReplaceDlgImpl(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~ReplaceDlgImpl();

    TQRegExp expressionPattern();
    TQString replacementString();

public slots:
    void show( TQString const & path );

protected:

protected slots:
    void showRegExpEditor();
    void validateExpression( const TQString & );
    void validateFind( const TQString & );
    void toggleExpression( bool );
    void saveComboHistories();

private:
    TQDialog * _regexp_dialog;

};

#endif