aboutsummaryrefslogtreecommitdiff
path: root/accounts.h
blob: 9d3cc205ed3bfe0f5029d2f1e90bdb2ff963fd19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef ACCOUNTS_H
#define ACCOUNTS_H

#include "client.h"
#include "ui_accounts.h"
#include <QDialog>
#include <QWidget>
#include <QVBoxLayout>
#include <QString>

class Accounts : public QDialog
{
    Q_OBJECT

public:
    Accounts(const QList<Client *> &accounts, QWidget *parent = nullptr);

Q_SIGNALS:
    void new_account(Client *c);

private:
    void add(Client *c);
    Ui_accounts ui;
};

#endif