This commit is contained in:
2025-12-05 12:20:47 +03:00
parent 57673d0ee4
commit 05fce073f1
450 changed files with 58 additions and 58 deletions

View File

@@ -0,0 +1,29 @@
#ifndef TABDIALOGMESSENGER_H
#define TABDIALOGMESSENGER_H
#include <QListWidget>
#include "msgwidget.h"
#include "user.h"
class OneDialogMessenger : public QListWidget
{
Q_OBJECT
public:
OneDialogMessenger(User userLocalGUI, User userRemote, QWidget *parent = nullptr);
~OneDialogMessenger();
int getUserRemoteId() {return userRemote.getID();}
void addMsgWidgetLocal(QString text, QString timeStr = "", QString name = "");
void addMsgWidgetRemote(QString text, QString timeStr = "", QString name = "");
private:
void addMsgWidget(QString text, QString timeStr, MsgWidget::DirectionMsg direction, QString name = "");
private:
User userLocalGUI;
User userRemote;
};
#endif // TABDIALOGMESSENGER_H