Files
RRJServer/InstructorsAndTrainees/messanger/tabdialogmessenger.h
2025-07-31 10:21:47 +03:00

30 lines
661 B
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#ifndef TABDIALOGMESSENGER_H
#define TABDIALOGMESSENGER_H
#include <QListWidget>
//Закладка ведения диалога с одним клиентом
//TODO сделать идентификацию по ID
class TabDialogMessenger : public QListWidget
{
Q_OBJECT
public:
TabDialogMessenger(QString userLogin, QString userId, QWidget *parent = nullptr);
~TabDialogMessenger();
QString getUserLogin() {return login;};
QString getUserId() {return userId;}
void addMsgWidgetLocal(QString text);
void addMsgWidgetRemote(QString text);
private:
QString login;
QString userId;
};
#endif // TABDIALOGMESSENGER_H