]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/trash/dolphintrash.h
DolphinView: Remove -1 interval, add setAutoActivationEnabled
[dolphin.git] / src / trash / dolphintrash.h
index c65cf92329375d2bdc9b00a6e5f85e8ce49910e7..388bc82ab4b775b452b70c4fab247e7ce5a1c3d3 100644 (file)
 
 #include <QWidget>
 
-#include <KIO/EmptyTrashJob>
 #include <KDirLister>
+#include <KIO/EmptyTrashJob>
 
-class Trash: public QObject
+class Trash : public QObject
 {
     Q_OBJECT
 
 public:
     // delete copy and move constructors and assign operators
-    Trash(Trash const&) = delete;
-    Trash(Trash&&) = delete;
-    Trash& operator=(Trash const&) = delete;
-    Trashoperator=(Trash &&) = delete;
+    Trash(Trash const &) = delete;
+    Trash(Trash &&) = delete;
+    Trash &operator=(Trash const &) = delete;
+    Trash &operator=(Trash &&) = delete;
 
-    static Trashinstance();
+    static Trash &instance();
     static void empty(QWidget *window);
     static bool isEmpty();