QTfrontend/pageroomslist.h
changeset 6042 8b5345758f62
parent 6009 14f6fc9869f2
equal deleted inserted replaced
6040:a740069c21e3 6042:8b5345758f62
    44     QComboBox * CBRules;
    44     QComboBox * CBRules;
    45     QComboBox * CBWeapons;
    45     QComboBox * CBWeapons;
    46     HWChatWidget * chatWidget;
    46     HWChatWidget * chatWidget;
    47     QLabel * lblCount;
    47     QLabel * lblCount;
    48 
    48 
    49 private:
       
    50     bool gameInLobby;
       
    51     QString gameInLobbyName;
       
    52     QStringList listFromServer;
       
    53     AmmoSchemeModel * ammoSchemeModel;
       
    54     QPushButton * BtnBack;
       
    55 
       
    56 public slots:
    49 public slots:
    57     void setRoomsList(const QStringList & list);
    50     void setRoomsList(const QStringList & list);
    58     void setAdmin(bool);
    51     void setAdmin(bool);
    59     void updateNickCounter(int cnt);
    52     void updateNickCounter(int cnt);
       
    53 
       
    54 signals:
       
    55     void askForCreateRoom(const QString &);
       
    56     void askForJoinRoom(const QString &);
       
    57     void askForRoomList();
       
    58     void askJoinConfirmation(const QString &);
       
    59 
       
    60 protected:
       
    61     QLayout * bodyLayoutDefinition();
       
    62     QLayout * footerLayoutDefinition();
       
    63     void connectSignals();
    60 
    64 
    61 private slots:
    65 private slots:
    62     void onCreateClick();
    66     void onCreateClick();
    63     void onJoinClick();
    67     void onJoinClick();
    64     void onRefreshClick();
    68     void onRefreshClick();
    65     void onClearClick();
    69     void onClearClick();
    66     void onJoinConfirmation(const QString &);
    70     void onJoinConfirmation(const QString &);
    67 
    71 
    68 signals:
    72 private:
    69     void askForCreateRoom(const QString &);
    73     QSettings * m_gameSettings;
    70     void askForJoinRoom(const QString &);
    74     SDLInteraction * m_sdli;
    71     void askForRoomList();
    75 
    72     void askJoinConfirmation(const QString &);
    76     bool gameInLobby;
       
    77     QString gameInLobbyName;
       
    78     QStringList listFromServer;
       
    79     AmmoSchemeModel * ammoSchemeModel;
       
    80 
    73 };
    81 };
    74 
    82 
    75 #endif
    83 #endif