5#ifndef DTKWIDGET_DTRASHMANAGER_H
6#define DTKWIDGET_DTRASHMANAGER_H
10#include <dtkwidget_global.h>
14#if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0)
16DWIDGET_BEGIN_NAMESPACE
18class DTrashManagerPrivate;
19class D_DECL_DEPRECATED_X(
"Use libdtkcore") DTrashManager :
public QObject,
public DTK_CORE_NAMESPACE::DObject
22 static DTrashManager *instance();
24 bool trashIsEmpty()
const;
26 bool moveToTrash(
const QString &filePath,
bool followSymlink =
false);
32 D_DECLARE_PRIVATE(DTrashManager)