mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 23:53:54 -07:00
Move UserlistProxy to src/server/user and fix capitalization (#5475)
* move file * fix capitalization
This commit is contained in:
parent
2def02e140
commit
455d68f9ea
15 changed files with 34 additions and 33 deletions
|
|
@ -123,7 +123,7 @@ TabGame::TabGame(TabSupervisor *_tabSupervisor, GameReplay *_replay)
|
|||
}
|
||||
|
||||
TabGame::TabGame(TabSupervisor *_tabSupervisor,
|
||||
UserlistProxy *_userListProxy,
|
||||
UserListProxy *_userListProxy,
|
||||
QList<AbstractClient *> &_clients,
|
||||
const Event_GameJoined &event,
|
||||
const QMap<int, QString> &_roomGameTypes)
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
#include <QCompleter>
|
||||
#include <QMap>
|
||||
|
||||
class UserlistProxy;
|
||||
class UserListProxy;
|
||||
class DeckViewContainer;
|
||||
class AbstractClient;
|
||||
class CardDatabase;
|
||||
|
|
@ -67,7 +67,7 @@ class TabGame : public Tab
|
|||
private:
|
||||
QTimer *gameTimer;
|
||||
int secondsElapsed;
|
||||
UserlistProxy *userListProxy;
|
||||
UserListProxy *userListProxy;
|
||||
QList<AbstractClient *> clients;
|
||||
ServerInfo_Game gameInfo;
|
||||
QMap<int, QString> roomGameTypes;
|
||||
|
|
@ -212,7 +212,7 @@ private slots:
|
|||
|
||||
public:
|
||||
TabGame(TabSupervisor *_tabSupervisor,
|
||||
UserlistProxy *_userListProxy,
|
||||
UserListProxy *_userListProxy,
|
||||
QList<AbstractClient *> &_clients,
|
||||
const Event_GameJoined &event,
|
||||
const QMap<int, QString> &_roomGameTypes);
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
TabRoom::TabRoom(TabSupervisor *_tabSupervisor,
|
||||
AbstractClient *_client,
|
||||
ServerInfo_User *_ownUser,
|
||||
const UserlistProxy *_userListProxy,
|
||||
const UserListProxy *_userListProxy,
|
||||
const ServerInfo_Room &info)
|
||||
: Tab(_tabSupervisor), client(_client), roomId(info.room_id()), roomName(QString::fromStdString(info.name())),
|
||||
ownUser(_ownUser), userListProxy(_userListProxy)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#include <QKeyEvent>
|
||||
#include <QMap>
|
||||
|
||||
class UserlistProxy;
|
||||
class UserListProxy;
|
||||
class UserListManager;
|
||||
namespace google
|
||||
{
|
||||
|
|
@ -51,7 +51,7 @@ private:
|
|||
|
||||
GameSelector *gameSelector;
|
||||
UserListWidget *userList;
|
||||
const UserlistProxy *userListProxy;
|
||||
const UserListProxy *userListProxy;
|
||||
ChatView *chatView;
|
||||
QLabel *sayLabel;
|
||||
LineEditCompleter *sayEdit;
|
||||
|
|
@ -92,7 +92,7 @@ public:
|
|||
TabRoom(TabSupervisor *_tabSupervisor,
|
||||
AbstractClient *_client,
|
||||
ServerInfo_User *_ownUser,
|
||||
const UserlistProxy *_userListProxy,
|
||||
const UserListProxy *_userListProxy,
|
||||
const ServerInfo_Room &info);
|
||||
void retranslateUi() override;
|
||||
void closeRequest(bool forced = false) override;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#define TAB_SUPERVISOR_H
|
||||
|
||||
#include "../../deck/deck_loader.h"
|
||||
#include "../../server/chat_view/user_list_proxy.h"
|
||||
#include "../../server/user/user_list_proxy.h"
|
||||
#include "visual_deck_storage/tab_deck_storage_visual.h"
|
||||
|
||||
#include <QAbstractButton>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue