2019-03-13 18:38:12 +00:00
|
|
|
#include <QDebug>
|
2019-03-15 16:53:40 +00:00
|
|
|
#include <QFile>
|
2019-03-21 23:11:36 +00:00
|
|
|
#include <QtCore/QStandardPaths>
|
|
|
|
#include <QtCore/QDir>
|
2019-03-16 18:57:17 +00:00
|
|
|
|
2019-03-18 07:10:58 +00:00
|
|
|
#include "pass.h"
|
2019-03-15 16:53:40 +00:00
|
|
|
|
2019-03-21 23:11:36 +00:00
|
|
|
Pass::Pass(){
|
|
|
|
pass_store = QStandardPaths::writableLocation(
|
|
|
|
QStandardPaths::AppDataLocation).append("/.password-store");
|
|
|
|
QDir dir(pass_store);
|
|
|
|
if (!dir.exists())
|
|
|
|
dir.mkpath(".");
|
|
|
|
qDebug() << "Password Store is :" << pass_store;
|
2019-03-16 15:18:05 +00:00
|
|
|
}
|
|
|
|
|
2019-03-21 10:22:12 +00:00
|
|
|
void Pass::speak()
|
|
|
|
{
|
|
|
|
qDebug() << "Starting app from main.cpp";
|
2019-03-15 16:53:40 +00:00
|
|
|
}
|