Changeset View
Changeset View
Standalone View
Standalone View
kate/katequickopen.h
Show All 23 Lines | |||||
24 | 24 | | |||
25 | class KateMainWindow; | 25 | class KateMainWindow; | ||
26 | class KLineEdit; | 26 | class KLineEdit; | ||
27 | 27 | | |||
28 | class QModelIndex; | 28 | class QModelIndex; | ||
29 | class QStandardItemModel; | 29 | class QStandardItemModel; | ||
30 | class QSortFilterProxyModel; | 30 | class QSortFilterProxyModel; | ||
31 | class QTreeView; | 31 | class QTreeView; | ||
32 | class KateQuickOpenModel; | ||||
32 | 33 | | |||
33 | class KateQuickOpen : public QWidget | 34 | class KateQuickOpen : public QWidget | ||
34 | { | 35 | { | ||
35 | Q_OBJECT | 36 | Q_OBJECT | ||
36 | public: | 37 | public: | ||
37 | KateQuickOpen(QWidget *parent, KateMainWindow *mainWindow); | 38 | KateQuickOpen(QWidget *parent, KateMainWindow *mainWindow); | ||
38 | /** | 39 | /** | ||
39 | * update state | 40 | * update state | ||
Show All 16 Lines | |||||
56 | private: | 57 | private: | ||
57 | KateMainWindow *m_mainWindow; | 58 | KateMainWindow *m_mainWindow; | ||
58 | QTreeView *m_listView; | 59 | QTreeView *m_listView; | ||
59 | KLineEdit *m_inputLine; | 60 | KLineEdit *m_inputLine; | ||
60 | 61 | | |||
61 | /** | 62 | /** | ||
62 | * our model we search in | 63 | * our model we search in | ||
63 | */ | 64 | */ | ||
64 | QStandardItemModel *m_base_model; | 65 | KateQuickOpenModel *m_base_model; | ||
65 | 66 | | |||
66 | /** | 67 | /** | ||
67 | * filtered model we search in | 68 | * filtered model we search in | ||
68 | */ | 69 | */ | ||
69 | QSortFilterProxyModel *m_model; | 70 | QSortFilterProxyModel *m_model; | ||
70 | }; | 71 | }; | ||
71 | 72 | | |||
72 | #endif | 73 | #endif |