You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libfm-qt-packaging/src/core/trashjob.h

31 lines
514 B

#ifndef FM2_TRASHJOB_H
#define FM2_TRASHJOB_H
#include "../libfmqtglobals.h"
#include "fileoperationjob.h"
#include "filepath.h"
namespace Fm {
class LIBFM_QT_API TrashJob : public Fm::FileOperationJob {
Q_OBJECT
public:
explicit TrashJob(FilePathList paths);
FilePathList unsupportedFiles() const {
return unsupportedFiles_;
}
protected:
void exec() override;
private:
FilePathList paths_;
FilePathList unsupportedFiles_;
};
} // namespace Fm
#endif // FM2_TRASHJOB_H