Changeset View
Changeset View
Standalone View
Standalone View
plugins/dirfilter/dirfilterplugin.h
Show All 18 Lines | |||||
19 | #ifndef DIR_FILTER_PLUGIN_H | 19 | #ifndef DIR_FILTER_PLUGIN_H | ||
20 | #define DIR_FILTER_PLUGIN_H | 20 | #define DIR_FILTER_PLUGIN_H | ||
21 | 21 | | |||
22 | #include <QSet> | 22 | #include <QSet> | ||
23 | #include <QPointer> | 23 | #include <QPointer> | ||
24 | #include <QStringList> | 24 | #include <QStringList> | ||
25 | #include <QWidget> | 25 | #include <QWidget> | ||
26 | #include <QMenu> | 26 | #include <QMenu> | ||
27 | #include <QUrl> | ||||
27 | 28 | | |||
28 | #include <kurl.h> | | |||
29 | #include <kparts/plugin.h> | 29 | #include <kparts/plugin.h> | ||
30 | #include <kparts/listingextension.h> | 30 | #include <kparts/listingextension.h> | ||
31 | 31 | | |||
32 | class QPushButton; | 32 | class QPushButton; | ||
33 | class KUrl; | | |||
34 | class KFileItemList; | 33 | class KFileItemList; | ||
35 | class KLineEdit; | 34 | class KLineEdit; | ||
36 | namespace KParts | 35 | namespace KParts | ||
37 | { | 36 | { | ||
38 | class ReadOnlyPart; | 37 | class ReadOnlyPart; | ||
39 | } | 38 | } | ||
40 | 39 | | |||
41 | class FilterBar : public QWidget | 40 | class FilterBar : public QWidget | ||
Show All 34 Lines | |||||
76 | public: | 75 | public: | ||
77 | struct Filters { | 76 | struct Filters { | ||
78 | QStringList typeFilters; | 77 | QStringList typeFilters; | ||
79 | QString nameFilter; | 78 | QString nameFilter; | ||
80 | }; | 79 | }; | ||
81 | 80 | | |||
82 | SessionManager(); | 81 | SessionManager(); | ||
83 | ~SessionManager(); | 82 | ~SessionManager(); | ||
84 | Filters restore(const KUrl &url); | 83 | Filters restore(const QUrl &url); | ||
85 | void save(const KUrl &url, const Filters &filters); | 84 | void save(const QUrl &url, const Filters &filters); | ||
86 | 85 | | |||
87 | bool showCount; | 86 | bool showCount; | ||
88 | bool useMultipleFilters; | 87 | bool useMultipleFilters; | ||
89 | 88 | | |||
90 | protected: | 89 | protected: | ||
91 | void loadSettings(); | 90 | void loadSettings(); | ||
92 | void saveSettings(); | 91 | void saveSettings(); | ||
93 | 92 | | |||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |