QTfrontend/pageroomslist.h
changeset 6009 14f6fc9869f2
parent 5259 926958e3e87b
child 6042 8b5345758f62
equal deleted inserted replaced
6008:215f0c9719e3 6009:14f6fc9869f2
    33     PageRoomsList(QWidget* parent, QSettings * config, SDLInteraction * sdli);
    33     PageRoomsList(QWidget* parent, QSettings * config, SDLInteraction * sdli);
    34 
    34 
    35     QLineEdit * roomName;
    35     QLineEdit * roomName;
    36     QLineEdit * searchText;
    36     QLineEdit * searchText;
    37     QTableWidget * roomsList;
    37     QTableWidget * roomsList;
    38     QPushButton * BtnBack;
       
    39     QPushButton * BtnCreate;
    38     QPushButton * BtnCreate;
    40     QPushButton * BtnJoin;
    39     QPushButton * BtnJoin;
    41     QPushButton * BtnRefresh;
    40     QPushButton * BtnRefresh;
    42     QPushButton * BtnAdmin;
    41     QPushButton * BtnAdmin;
    43     QPushButton * BtnClear;
    42     QPushButton * BtnClear;
    50 private:
    49 private:
    51     bool gameInLobby;
    50     bool gameInLobby;
    52     QString gameInLobbyName;
    51     QString gameInLobbyName;
    53     QStringList listFromServer;
    52     QStringList listFromServer;
    54     AmmoSchemeModel * ammoSchemeModel;
    53     AmmoSchemeModel * ammoSchemeModel;
       
    54     QPushButton * BtnBack;
    55 
    55 
    56 public slots:
    56 public slots:
    57     void setRoomsList(const QStringList & list);
    57     void setRoomsList(const QStringList & list);
    58     void setAdmin(bool);
    58     void setAdmin(bool);
    59     void updateNickCounter(int cnt);
    59     void updateNickCounter(int cnt);