Changeset View
Changeset View
Standalone View
Standalone View
krusader/Locate/locate.h
Show All 22 Lines | |||||
23 | 23 | | |||
24 | // QtGui | 24 | // QtGui | ||
25 | #include <QKeyEvent> | 25 | #include <QKeyEvent> | ||
26 | // QtWidgets | 26 | // QtWidgets | ||
27 | #include <QCheckBox> | 27 | #include <QCheckBox> | ||
28 | #include <QDialog> | 28 | #include <QDialog> | ||
29 | 29 | | |||
30 | #include <KCompletion/KComboBox> | 30 | #include <KCompletion/KComboBox> | ||
31 | #include <KCompletion/KHistoryComboBox> | 31 | | ||
32 | #include "../GUI/krhistorycombobox.h" | ||||
32 | 33 | | |||
33 | class KProcess; | 34 | class KProcess; | ||
34 | class KrTreeWidget; | 35 | class KrTreeWidget; | ||
35 | class QTreeWidgetItem; | 36 | class QTreeWidgetItem; | ||
36 | 37 | | |||
37 | class LocateDlg : public QDialog | 38 | class LocateDlg : public QDialog | ||
38 | { | 39 | { | ||
39 | Q_OBJECT | 40 | Q_OBJECT | ||
40 | 41 | | |||
41 | public: | 42 | public: | ||
42 | explicit LocateDlg(QWidget *parent); | 43 | explicit LocateDlg(QWidget *parent); | ||
44 | ~LocateDlg() override; | ||||
43 | 45 | | |||
44 | static LocateDlg *LocateDialog; | 46 | static LocateDlg *LocateDialog; | ||
45 | 47 | | |||
46 | virtual void feedToListBox(); | 48 | virtual void feedToListBox(); | ||
47 | 49 | | |||
48 | void reset(); | 50 | void reset(); | ||
49 | 51 | | |||
50 | public slots: | 52 | public slots: | ||
Show All 24 Lines | 68 | private: | |||
75 | bool dontSearchPath; | 77 | bool dontSearchPath; | ||
76 | bool onlyExist; | 78 | bool onlyExist; | ||
77 | bool isCs; | 79 | bool isCs; | ||
78 | 80 | | |||
79 | bool isFeedToListBox; | 81 | bool isFeedToListBox; | ||
80 | 82 | | |||
81 | QString pattern; | 83 | QString pattern; | ||
82 | 84 | | |||
83 | KHistoryComboBox *locateSearchFor; | 85 | KrHistoryComboBox *locateSearchFor; | ||
84 | KrTreeWidget *resultList; | 86 | KrTreeWidget *resultList; | ||
85 | QString remaining; | 87 | QString remaining; | ||
86 | QTreeWidgetItem *lastItem; | 88 | QTreeWidgetItem *lastItem; | ||
87 | 89 | | |||
88 | QString collectedErr; | 90 | QString collectedErr; | ||
89 | 91 | | |||
90 | long findOptions; | 92 | long findOptions; | ||
91 | QString findPattern; | 93 | QString findPattern; | ||
Show All 15 Lines |