Changeset View
Changeset View
Standalone View
Standalone View
plugins/fsview/fsview.h
Show All 21 Lines | |||||
22 | 22 | | |||
23 | #ifndef FSVIEW_H | 23 | #ifndef FSVIEW_H | ||
24 | #define FSVIEW_H | 24 | #define FSVIEW_H | ||
25 | 25 | | |||
26 | #include <qmap.h> | 26 | #include <qmap.h> | ||
27 | #include <qfileinfo.h> | 27 | #include <qfileinfo.h> | ||
28 | #include <qstring.h> | 28 | #include <qstring.h> | ||
29 | 29 | | |||
30 | #include <kurl.h> | | |||
31 | #include <kmimetype.h> | 30 | #include <kmimetype.h> | ||
32 | #include <kconfiggroup.h> | 31 | #include <kconfiggroup.h> | ||
33 | 32 | | |||
34 | #include "treemap.h" | 33 | #include "treemap.h" | ||
35 | #include "inode.h" | 34 | #include "inode.h" | ||
36 | #include "scan.h" | 35 | #include "scan.h" | ||
37 | 36 | | |||
38 | class QMenu; | 37 | class QMenu; | ||
▲ Show 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | 71 | public: | |||
110 | static bool getDirMetric(const QString &, double &, unsigned int &, unsigned int &); | 109 | static bool getDirMetric(const QString &, double &, unsigned int &, unsigned int &); | ||
111 | static void setDirMetric(const QString &, double, unsigned int, unsigned int); | 110 | static void setDirMetric(const QString &, double, unsigned int, unsigned int); | ||
112 | void saveMetric(KConfigGroup *); | 111 | void saveMetric(KConfigGroup *); | ||
113 | void saveFSOptions(); | 112 | void saveFSOptions(); | ||
114 | 113 | | |||
115 | // for color mode | 114 | // for color mode | ||
116 | void addColorItems(QMenu *, int); | 115 | void addColorItems(QMenu *, int); | ||
117 | 116 | | |||
118 | KUrl::List selectedUrls(); | 117 | QList<QUrl> selectedUrls(); | ||
119 | 118 | | |||
120 | public slots: | 119 | public slots: | ||
121 | void selected(TreeMapItem *); | 120 | void selected(TreeMapItem *); | ||
122 | void contextMenu(TreeMapItem *, const QPoint &); | 121 | void contextMenu(TreeMapItem *, const QPoint &); | ||
123 | void quit(); | 122 | void quit(); | ||
124 | void doUpdate(); | 123 | void doUpdate(); | ||
125 | void doRedraw(); | 124 | void doRedraw(); | ||
126 | void colorActivated(QAction *); | 125 | void colorActivated(QAction *); | ||
Show All 35 Lines |