сохранение веб сервисов с чатом
This commit is contained in:
+3
-1
@@ -1,6 +1,7 @@
|
||||
#ifndef FCREATECHAT_H
|
||||
#define FCREATECHAT_H
|
||||
|
||||
#include "udatabase.h"
|
||||
#include "webserverchat.h"
|
||||
#include <QDialog>
|
||||
|
||||
@@ -17,7 +18,7 @@ signals:
|
||||
void serverUpdated(HttpServerChat *server, const QString &name);
|
||||
|
||||
public:
|
||||
explicit FCreateChat(QWidget *parent = nullptr);
|
||||
explicit FCreateChat(uDataBase *database = nullptr, QWidget *parent = nullptr);
|
||||
~FCreateChat();
|
||||
HttpServerChat *m_chatServer;
|
||||
|
||||
@@ -33,6 +34,7 @@ private:
|
||||
Ui::FCreateChat *ui;
|
||||
bool m_isEditMode;
|
||||
QString m_existingServerName;
|
||||
uDataBase *m_database;
|
||||
void createServer();
|
||||
void applyCurrentSettingsToServer();
|
||||
void createTestMessage(bool isTest = false);
|
||||
|
||||
Reference in New Issue
Block a user