2022-11-29 17:42:09 +02:00
|
|
|
/*
|
|
|
|
* lobbyroomrequest_moc.h, part of VCMI engine
|
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
|
|
|
*/
|
2022-11-10 02:20:44 +02:00
|
|
|
#ifndef LOBBYROOMREQUEST_MOC_H
|
|
|
|
#define LOBBYROOMREQUEST_MOC_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include "lobby.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class LobbyRoomRequest;
|
|
|
|
}
|
|
|
|
|
|
|
|
class LobbyRoomRequest : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2022-12-25 13:19:16 +02:00
|
|
|
void changeEvent(QEvent *event) override;
|
2022-11-10 02:20:44 +02:00
|
|
|
public:
|
2022-11-17 01:15:26 +02:00
|
|
|
explicit LobbyRoomRequest(SocketLobby & socket, const QString & room, const QMap<QString, QString> & mods, QWidget *parent = nullptr);
|
2022-11-10 02:20:44 +02:00
|
|
|
~LobbyRoomRequest();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_buttonBox_accepted();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::LobbyRoomRequest *ui;
|
|
|
|
SocketLobby & socketLobby;
|
2022-11-17 01:15:26 +02:00
|
|
|
QMap<QString, QString> mods;
|
2022-11-10 02:20:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LOBBYROOMREQUEST_MOC_H
|