QTfrontend/ui/page/pagenetgame.h
changeset 8453 06541556df53
parent 8424 225ede46e3dc
child 8489 25cb6f4a1d1b
equal deleted inserted replaced
8452:170afc3ac39f 8453:06541556df53
    24 #include "AbstractPage.h"
    24 #include "AbstractPage.h"
    25 
    25 
    26 class HWChatWidget;
    26 class HWChatWidget;
    27 class TeamSelWidget;
    27 class TeamSelWidget;
    28 class GameCFGWidget;
    28 class GameCFGWidget;
       
    29 class QSettings;
    29 
    30 
    30 class PageNetGame : public AbstractPage
    31 class PageNetGame : public AbstractPage
    31 {
    32 {
    32         Q_OBJECT
    33         Q_OBJECT
    33 
    34 
    37         /**
    38         /**
    38          * Sets the room name to display.
    39          * Sets the room name to display.
    39          * @param roomName room name to be displayed.
    40          * @param roomName room name to be displayed.
    40          */
    41          */
    41         void setRoomName(const QString & roomName);
    42         void setRoomName(const QString & roomName);
       
    43 
       
    44         void setSettings(QSettings * settings);
    42 
    45 
    43         void displayError(const QString & message);
    46         void displayError(const QString & message);
    44         void displayNotice(const QString & message);
    47         void displayNotice(const QString & message);
    45         void displayWarning(const QString & message);
    48         void displayWarning(const QString & message);
    46 
    49 
    78         QLayout * bodyLayoutDefinition();
    81         QLayout * bodyLayoutDefinition();
    79         QLayout * footerLayoutDefinition();
    82         QLayout * footerLayoutDefinition();
    80         QLayout * footerLayoutLeftDefinition();
    83         QLayout * footerLayoutLeftDefinition();
    81         void connectSignals();
    84         void connectSignals();
    82 
    85 
       
    86         QSettings * m_gameSettings;
    83         QPushButton * btnSetup;
    87         QPushButton * btnSetup;
    84         QLabel * lblRoomNameReadOnly;
    88         QLabel * lblRoomNameReadOnly;
    85 };
    89 };
    86 
    90 
    87 #endif
    91 #endif