~lubuntu-dev/juffed/trunk

« back to all changes in this revision

Viewing changes to plugins/findinfiles/SearchDlg.h

  • Committer: Mikhail Murzin
  • Date: 2012-01-31 01:33:22 UTC
  • Revision ID: git-v1:28dda15acf875c1565ffd527d8d4e8daa88ac487
Added plugins

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __SEARCH_DLG_H__
 
2
#define __SEARCH_DLG_H__
 
3
 
 
4
#include "ui_SearchDlg.h"
 
5
 
 
6
#include <QtGui/QDirModel>
 
7
 
 
8
class SearchDlg : public QDialog {
 
9
Q_OBJECT
 
10
public:
 
11
        SearchDlg(QWidget*);
 
12
 
 
13
        // getters
 
14
        QString findText()       const;
 
15
        QString startDir()       const;
 
16
        bool    searchInFiles()  const;
 
17
        bool    recursive()      const;
 
18
        QString filePatterns()   const;
 
19
        int     patternVariant() const;
 
20
 
 
21
        // setters
 
22
        void setFindText      (const QString&);
 
23
        void setStartDir      (const QString&);
 
24
        void setSearchInFiles (bool);
 
25
        void setRecursive     (bool);
 
26
        void setFilePatterns  (const QString&);
 
27
        void setPatternVariant(int);
 
28
 
 
29
private slots:
 
30
        void slotBrowse();
 
31
 
 
32
private:
 
33
        Ui::SearchDlg ui;
 
34
        QDirModel model_;
 
35
};
 
36
 
 
37
#endif /* __SEARCH_DLG_H__ */