mirror of
https://github.com/QRouland/UTPass.git
synced 2025-01-24 23:56:39 +00:00
22 lines
349 B
C++
22 lines
349 B
C++
#ifndef UTILS_H
|
|
#define UTILS_H
|
|
|
|
#include <QObject>
|
|
#include <QUrl>
|
|
#include <QQuickWindow>
|
|
|
|
class Utils : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Utils();
|
|
~Utils() override = default;
|
|
|
|
Q_INVOKABLE bool unzip(QUrl zip_url, QString dir_out);
|
|
Q_INVOKABLE bool rmFile(QUrl file_url);
|
|
Q_INVOKABLE bool rmDir(QUrl dir_url);
|
|
};
|
|
|
|
#endif
|