X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/3f76d92402a9ef982a3da082bec50523e90e8f80..d955a72c0ccbae65a629d5f86db4fdb305ccfef4:/src/trash/dolphintrash.h diff --git a/src/trash/dolphintrash.h b/src/trash/dolphintrash.h index 12f10f101..388bc82ab 100644 --- a/src/trash/dolphintrash.h +++ b/src/trash/dolphintrash.h @@ -10,22 +10,22 @@ #include +#include #include -#include -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; - Trash& operator=(Trash &&) = delete; + Trash(Trash const &) = delete; + Trash(Trash &&) = delete; + Trash &operator=(Trash const &) = delete; + Trash &operator=(Trash &&) = delete; - static Trash& instance(); - static KIO::Job* empty(QWidget *window); + static Trash &instance(); + static void empty(QWidget *window); static bool isEmpty(); Q_SIGNALS: