aboutsummaryrefslogtreecommitdiff
path: root/contact.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 /contact.h
parent3b8fafc4122848219898245d52dabd669cacb4ba (diff)
First commit
Diffstat (limited to 'contact.h')
-rw-r--r--contact.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/contact.h b/contact.h
new file mode 100644
index 0000000..4e6dfcc
--- /dev/null
+++ b/contact.h
@@ -0,0 +1,20 @@
+#ifndef CONTACT_H
+#define CONTACT_H
+
+#include "ui_contact.h"
+#include <QListWidgetItem>
+#include <QString>
+#include <QWidget>
+
+class Contact : public QListWidgetItem, public QWidget
+{
+public:
+ Contact(const QString &own, const QString &other,
+ QListWidget *list, QWidget *parent = nullptr);
+ const QString own, other;
+
+private:
+ Ui_contact ui;
+};
+
+#endif