X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/e321a9cc3e8da6a63da8d247b2855e69119d0e9d..d955a72c0ccbae65a629d5f86db4fdb305ccfef4:/src/trash/dolphintrash.h diff --git a/src/trash/dolphintrash.h b/src/trash/dolphintrash.h index 2ee85e89a..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: