/
Shymer123
/
Messenger
Обзор
Документация
Войти
/
Shymer123
/
Messenger
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
UI_Client/SourceFiles/Chats/createDialog.h
29 строк
660 B
Shymer123
bugs with creating chats and not opening the chat information menu have been fixed, and chat creation has also been confirmed.
17 май 2025, 06:03
17 май 2025, 06:03
621bd0c
Код
Авторство
О чём код?
#ifndef CREATEDIALOG_H #define CREATEDIALOG_H #include <QObject> class CommunicationHandler; class createDialog : public QObject { Q_OBJECT public: explicit createDialog(const int tempChatID, const QString& contactName); explicit createDialog(const int tempChatID, const bool isFavourite = true); private: int m_user1_id; QString m_contactName; int m_tempChatID; bool m_isFavourite = false; CommunicationHandler* m_communicationHandler; void receiveUser2ID(const QString& phoneNumber, std::function<void(int)> callback); void insertDialogDataBase(); signals: void dialogCreated(); }; #endif // CREATEDIALOG_H