X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/8fda69892284144a8aea3845d2aad844021c99d2..fc56f8f2f92b98ccb9a1da0ffcbb57d723dc33bb:/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: