mirror of
https://github.com/QRouland/UTPass.git
synced 2025-06-30 09:12:29 +00:00
UP
This commit is contained in:
@ -1,17 +1,20 @@
|
||||
#include <QDebug>
|
||||
#include <QFile>
|
||||
#include <QtCore/QStandardPaths>
|
||||
#include <QtCore/QDir>
|
||||
|
||||
#include "pass.h"
|
||||
|
||||
Pass::Pass()
|
||||
{
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
void Pass::speak()
|
||||
{
|
||||
qDebug() << "Starting app from main.cpp";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
class Pass : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
QString gpgHome;
|
||||
QString pass_store;
|
||||
|
||||
public:
|
||||
Pass();
|
||||
|
Reference in New Issue
Block a user