]>
cloud.milkyroute.net Git - dolphin.git/blob - src/trash/dolphintrash.h
2 * SPDX-FileCopyrightText: 2012 Peter Penz <peter.penz19@gmail.com>
3 * SPDX-FileCopyrightText: 2018 Roman Inflianskas <infroma@gmail.com>
5 * SPDX-License-Identifier: GPL-2.0-or-later
13 #include <KIO/EmptyTrashJob>
16 class Trash
: public QObject
21 // delete copy and move constructors and assign operators
22 Trash(Trash
const&) = delete;
23 Trash(Trash
&&) = delete;
24 Trash
& operator=(Trash
const&) = delete;
25 Trash
& operator=(Trash
&&) = delete;
27 static Trash
& instance();
28 static KIO::Job
* empty(QWidget
*window
);
29 static bool isEmpty();
32 void emptinessChanged(bool isEmpty
);
35 KDirLister
*m_trashDirLister
;
41 #endif // DOLPHINTRASH_H