1
0
Fork 0
forked from blue/squawk

Reformating, adding accounts ui dummy

This commit is contained in:
Blue 2019-03-30 23:13:13 +03:00
parent de36fe2a4e
commit 6823b41f24
16 changed files with 551 additions and 31 deletions

View file

@ -2,6 +2,9 @@
#define CORE_SQUAWK_H
#include <QtCore/QObject>
#include <QString>
#include <QVariant>
#include <QMap>
#include <deque>
#include "account.h"
@ -16,10 +19,20 @@ public:
Squawk(QObject* parent = 0);
~Squawk();
signals:
void newAccount(const QMap<QString, QVariant>&);
public slots:
void start();
void newAccountRequest(const QMap<QString, QVariant>& map);
private:
typedef std::deque<Account> Accounts;
typedef std::deque<Account*> Accounts;
Accounts accounts;
private:
void addAccount(const QString& login, const QString& server, const QString& password, const QString& name);
};
}