Mercurial > octave
comparison libgui/src/find-files-dialog.h @ 23432:e35a5c1233d0
maint: Use convention 'int *x' for naming pointers.
* annotation-dialog.h, files-dock-widget.cc, find-files-dialog.cc,
find-files-dialog.h, file-editor.cc, file-editor.h, main-window.cc,
main-window.h, octave-dock-widget.cc, parser.h, settings-dialog.h,
load-save.cc, mex.cc, pr-output.cc, symtab.cc, __ode15__.cc, ov-bool-sparse.cc,
ov-cx-sparse.cc, ov-fcn-inline.cc, ov-re-sparse.cc, Sparse.cc, idx-vector.cc,
idx-vector.h: Use convention 'int *x' for naming pointers.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 24 Apr 2017 14:38:34 -0700 |
parents | 092078913d54 |
children | c9fab0bc983e |
comparison
equal
deleted
inserted
replaced
23431:39045e50ea45 | 23432:e35a5c1233d0 |
---|---|
36 | 36 |
37 class find_files_dialog : public QDialog | 37 class find_files_dialog : public QDialog |
38 { | 38 { |
39 Q_OBJECT | 39 Q_OBJECT |
40 public: | 40 public: |
41 find_files_dialog (QWidget * parent=0); | 41 find_files_dialog (QWidget *parent = 0); |
42 virtual ~find_files_dialog (); | 42 virtual ~find_files_dialog (); |
43 void save_settings (void); | 43 void save_settings (void); |
44 | 44 |
45 signals: | 45 signals: |
46 void file_selected (const QString &fileName); | 46 void file_selected (const QString &fileName); |
56 void look_for_files (); | 56 void look_for_files (); |
57 void item_double_clicked (const QModelIndex&); | 57 void item_double_clicked (const QModelIndex&); |
58 void handle_done (int); | 58 void handle_done (int); |
59 private: | 59 private: |
60 bool is_match (const QFileInfo &info); | 60 bool is_match (const QFileInfo &info); |
61 QLineEdit * _start_dir_edit; | 61 QLineEdit *_start_dir_edit; |
62 QLineEdit * _file_name_edit; | 62 QLineEdit *_file_name_edit; |
63 QPushButton * _stop_button; | 63 QPushButton *_stop_button; |
64 QPushButton * _find_button; | 64 QPushButton *_find_button; |
65 QPushButton * _close_button; | 65 QPushButton *_close_button; |
66 QPushButton * _browse_button; | 66 QPushButton *_browse_button; |
67 QTableView * _file_list; | 67 QTableView *_file_list; |
68 QTimer * _timer; | 68 QTimer *_timer; |
69 QCheckBox * _recurse_dirs_check; | 69 QCheckBox *_recurse_dirs_check; |
70 QCheckBox * _include_dirs_check; | 70 QCheckBox *_include_dirs_check; |
71 QCheckBox * _name_case_check; | 71 QCheckBox *_name_case_check; |
72 QCheckBox * _contains_text_check; | 72 QCheckBox *_contains_text_check; |
73 QCheckBox * _content_case_check; | 73 QCheckBox *_content_case_check; |
74 QLineEdit * _contains_text_edit; | 74 QLineEdit *_contains_text_edit; |
75 QDirIterator * _dir_iterator; | 75 QDirIterator *_dir_iterator; |
76 QStatusBar * _status_bar; | 76 QStatusBar *_status_bar; |
77 }; | 77 }; |
78 | 78 |
79 #endif | 79 #endif |