#ifndef CONTACT_H #define CONTACT_H #include "ui_contact.h" #include #include #include 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