File indexing completed on 2024-12-22 04:40:14

0001 /*
0002     SPDX-FileCopyrightText: 2007-2009 Sergio Pistone <sergio_pistone@yahoo.com.ar>
0003     SPDX-FileCopyrightText: 2010-2022 Mladen Milinkovic <max@smoothware.net>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef FILETRASHER_H
0009 #define FILETRASHER_H
0010 
0011 #include <QUrl>
0012 
0013 class FileTrasher
0014 {
0015 public:
0016     FileTrasher(const QUrl &url);
0017     FileTrasher(const QString &path);
0018     ~FileTrasher();
0019 
0020     const QUrl & url();
0021 
0022     bool exec();
0023 
0024 private:
0025     QUrl m_url;
0026 };
0027 
0028 #endif