diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-06-12 23:47:17 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-06-29 14:09:46 +0200 |
| commit | 05b2584fa4d773f5a88ed3ce98f5dd8304e11c34 (patch) | |
| tree | f72e73c3259b8100e886f49f67ecc669b7667502 /conversation.h | |
| parent | 3b8fafc4122848219898245d52dabd669cacb4ba (diff) | |
| download | xxcc-05b2584fa4d773f5a88ed3ce98f5dd8304e11c34.tar.gz | |
First commit
Diffstat (limited to 'conversation.h')
| -rw-r--r-- | conversation.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/conversation.h b/conversation.h new file mode 100644 index 0000000..19bf32c --- /dev/null +++ b/conversation.h @@ -0,0 +1,23 @@ +#ifndef CONVERSATION_H +#define CONVERSATION_H + +#include "ui_conversation.h" +#include <QDateTime> +#include <QListWidget> +#include <QListWidgetItem> +#include <QWidget> + +class Conversation : public QListWidgetItem, public QWidget +{ +public: + Conversation(const QString &from, const QString &to, + QListWidget *list, const QString &msg = QString(), + const QDateTime &dt = QDateTime()); + void setText(const QString &msg); + const QString from, to; + +private: + Ui_conversation ui; +}; + +#endif |
