forked from blue/squawk
Reformating, adding accounts ui dummy
This commit is contained in:
parent
de36fe2a4e
commit
6823b41f24
16 changed files with 551 additions and 31 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue