aboutsummaryrefslogtreecommitdiff
path: root/accounts.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-06-12 23:47:17 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-06-29 14:09:46 +0200
commit05b2584fa4d773f5a88ed3ce98f5dd8304e11c34 (patch)
treef72e73c3259b8100e886f49f67ecc669b7667502 /accounts.h
parent3b8fafc4122848219898245d52dabd669cacb4ba (diff)
First commit
Diffstat (limited to 'accounts.h')
-rw-r--r--accounts.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/accounts.h b/accounts.h
new file mode 100644
index 0000000..9d3cc20
--- /dev/null
+++ b/accounts.h
@@ -0,0 +1,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