forked from blue/squawk
first attempt to remove accounts
This commit is contained in:
parent
8432a574b9
commit
234697050b
14 changed files with 190 additions and 14 deletions
|
@ -16,6 +16,7 @@ public:
|
|||
~Accounts();
|
||||
|
||||
void addAccount(Account* account);
|
||||
void removeAccount(int index);
|
||||
|
||||
QVariant data ( const QModelIndex& index, int role ) const override;
|
||||
int columnCount ( const QModelIndex& parent ) const override;
|
||||
|
@ -24,6 +25,9 @@ public:
|
|||
|
||||
Account* getAccount(int index);
|
||||
|
||||
signals:
|
||||
void changed();
|
||||
|
||||
private:
|
||||
std::deque<Account*> accs;
|
||||
static std::deque<QString> columns;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue