Changeset View
Changeset View
Standalone View
Standalone View
krusader/FileSystem/krtrashhandler.h
Show All 27 Lines | |||||
28 | #include <KCoreAddons/KDirWatch> | 28 | #include <KCoreAddons/KDirWatch> | ||
29 | 29 | | |||
30 | class KrTrashWatcher; | 30 | class KrTrashWatcher; | ||
31 | 31 | | |||
32 | class KrTrashHandler | 32 | class KrTrashHandler | ||
33 | { | 33 | { | ||
34 | public: | 34 | public: | ||
35 | static bool isTrashEmpty(); | 35 | static bool isTrashEmpty(); | ||
36 | static QString trashIcon(); | 36 | static QString trashIconName(); | ||
37 | static void emptyTrash(); | 37 | static void emptyTrash(); | ||
38 | static void restoreTrashedFiles(const QList<QUrl> &url); | 38 | static void restoreTrashedFiles(const QList<QUrl> &url); | ||
39 | static void startWatcher(); | 39 | static void startWatcher(); | ||
40 | static void stopWatcher(); | 40 | static void stopWatcher(); | ||
41 | 41 | | |||
42 | private: | 42 | private: | ||
43 | static KrTrashWatcher * _trashWatcher; | 43 | static KrTrashWatcher * _trashWatcher; | ||
44 | }; | 44 | }; | ||
Show All 19 Lines |