1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-06-30 17:22:29 +00:00
Files
UTPass/tests/plugins/TestsUtils/utils.h

26 lines
448 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
private:
std::unique_ptr<TesTPassphraseProvider> m_passphrase_povider;
public:
TestsUtils();
~TestsUtils() override = default;
Q_INVOKABLE QString getTempPath();
Q_INVOKABLE QObject* getTestPassphraseProvider();
};
#endif