1
0
Fork 0
forked from blue/squawk

refactoring ui models, temp

This commit is contained in:
Blue 2019-04-03 18:09:29 +03:00
parent 4a4ba47968
commit 2bcee521c5
7 changed files with 246 additions and 143 deletions

View file

@ -6,7 +6,6 @@
namespace Models
{
struct Account;
class Accounts : public QAbstractTableModel
{
@ -24,20 +23,11 @@ public:
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
private:
std::deque<Account> accs;
std::deque<Account*> accs;
static std::deque<QString> columns;
};
struct Account {
QString name;
QString server;
QString login;
QString password;
int state;
};
}
#endif // MODELS_ACCOUNT_H