Added login form

This commit is contained in:
Pierre HUBERT
2018-11-27 19:15:54 +01:00
parent 12e0e44ad3
commit 9f568d5ef6
8 changed files with 195 additions and 0 deletions

12
helpers/accounthelper.cpp Normal file
View File

@@ -0,0 +1,12 @@
#include "accounthelper.h"
AccountHelper::AccountHelper(QObject *parent) : QObject(parent)
{
}
bool AccountHelper::signedIn()
{
return false; //TODO : implement
}

30
helpers/accounthelper.h Normal file
View File

@@ -0,0 +1,30 @@
/**
* Account helper
*
* @author Pierre HUBERT
*/
#ifndef ACCOUNTHELPER_H
#define ACCOUNTHELPER_H
#include <QObject>
class AccountHelper : public QObject
{
Q_OBJECT
public:
explicit AccountHelper(QObject *parent = nullptr);
/**
* Determine wether user is signed in or not
*
* @return TRUE if signed in / FALSE else
*/
bool signedIn();
signals:
public slots:
};
#endif // ACCOUNTHELPER_H