X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/f65b0899c3666561cafac14f67ab0bb8a5bfa00a..dd07a327:/src/trash/dolphintrash.h diff --git a/src/trash/dolphintrash.h b/src/trash/dolphintrash.h index 1ef7d7d02..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: @@ -35,7 +35,7 @@ private: KDirLister *m_trashDirLister; Trash(); - ~Trash(); + ~Trash() override; }; #endif // DOLPHINTRASH_H