QTfrontend/ui/page/pagenetgame.h
changeset 6165 6fe3e922246e
parent 6158 cf034cc88e39
child 6180 0992fc5a4ad9
equal deleted inserted replaced
6164:62aa418ed214 6165:6fe3e922246e
    20 #define PAGE_NETGAME_H
    20 #define PAGE_NETGAME_H
    21 
    21 
    22 #include "HistoryLineEdit.h"
    22 #include "HistoryLineEdit.h"
    23 
    23 
    24 #include "AbstractPage.h"
    24 #include "AbstractPage.h"
    25 #include "SDLs.h"
       
    26 
    25 
    27 class HWChatWidget;
    26 class HWChatWidget;
    28 class TeamSelWidget;
    27 class TeamSelWidget;
    29 class GameCFGWidget;
    28 class GameCFGWidget;
    30 
    29 
    31 class PageNetGame : public AbstractPage
    30 class PageNetGame : public AbstractPage
    32 {
    31 {
    33     Q_OBJECT
    32     Q_OBJECT
    34 
    33 
    35 public:
    34 public:
    36     PageNetGame(QWidget* parent, QSettings * gameSettings, SDLInteraction * sdli);
    35     PageNetGame(QWidget* parent, QSettings * gameSettings);
    37 
    36 
    38     /**
    37     /**
    39      * Sets the room name to display.
    38      * Sets the room name to display.
    40      * @param roomName room name to be displayed.
    39      * @param roomName room name to be displayed.
    41      */
    40      */
    67     QLayout * bodyLayoutDefinition();
    66     QLayout * bodyLayoutDefinition();
    68     QLayout * footerLayoutDefinition();
    67     QLayout * footerLayoutDefinition();
    69     void connectSignals();
    68     void connectSignals();
    70 
    69 
    71     QSettings * m_gameSettings;
    70     QSettings * m_gameSettings;
    72     SDLInteraction * m_sdli;
       
    73 
    71 
    74     HistoryLineEdit * leRoomName;
    72     HistoryLineEdit * leRoomName;
    75     QPushButton * btnSetup;
    73     QPushButton * btnSetup;
    76 };
    74 };
    77 
    75