mirror of
https://github.com/QRouland/UTPass.git
synced 2025-02-11 15:07:16 +00:00
26 lines
490 B
C++
26 lines
490 B
C++
#ifndef TESTSUTILS_H
|
|
#define TESTSUTILS_H
|
|
|
|
//#include "passphraseprovider.h"
|
|
#include <QObject>
|
|
#include <QUrl>
|
|
#include <QQuickWindow>
|
|
#include <memory>
|
|
|
|
class TestsUtils : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TestsUtils();
|
|
~TestsUtils() override = default;
|
|
|
|
Q_INVOKABLE QString getTempPath();
|
|
Q_INVOKABLE bool fileExists(QUrl path);
|
|
Q_INVOKABLE void copyFolder(QUrl sourceFolder, QUrl destFolder);
|
|
//Q_INVOKABLE QObject *getTestPassphraseProvider();
|
|
|
|
};
|
|
|
|
#endif
|