Changeset View
Changeset View
Standalone View
Standalone View
sidebar/tree_module/tree_module.h
Show All 31 Lines | |||||
32 | 32 | | |||
33 | #include <KDirModel> | 33 | #include <KDirModel> | ||
34 | #include <KDirLister> | 34 | #include <KDirLister> | ||
35 | #include <KDirSortFilterProxyModel> | 35 | #include <KDirSortFilterProxyModel> | ||
36 | #include <QDirIterator> | 36 | #include <QDirIterator> | ||
37 | 37 | | |||
38 | #include <kio_version.h> | 38 | #include <kio_version.h> | ||
39 | 39 | | |||
40 | #define KDIRMODEL_HAS_ROOT_NODE KIO_VERSION >= QT_VERSION_CHECK(5, 66, 0) // set to the appropriate check here | | |||
41 | #define KDIRMODEL_HAS_ROOT_NODE 1 | | |||
42 | | ||||
43 | | ||||
44 | 40 | | |||
45 | class KonqSideBarTreeModule : public KonqSidebarModule | 41 | class KonqSideBarTreeModule : public KonqSidebarModule | ||
46 | { | 42 | { | ||
47 | Q_OBJECT | 43 | Q_OBJECT | ||
48 | 44 | | |||
49 | public: | 45 | public: | ||
50 | KonqSideBarTreeModule(QWidget *parent, | 46 | KonqSideBarTreeModule(QWidget *parent, | ||
51 | const KConfigGroup &configGroup); | 47 | const KConfigGroup &configGroup); | ||
Show All 30 Lines |