mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 11:03: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
|
|
@ -285,7 +285,7 @@ void GamesModel::updateGameList(const ServerInfo_Game &game)
|
|||
endInsertRows();
|
||||
}
|
||||
|
||||
GamesProxyModel::GamesProxyModel(QObject *parent, const UserlistProxy *_userListProxy)
|
||||
GamesProxyModel::GamesProxyModel(QObject *parent, const UserListProxy *_userListProxy)
|
||||
: QSortFilterProxyModel(parent), userListProxy(_userListProxy)
|
||||
{
|
||||
resetFilterParameters();
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
#include <QStringList>
|
||||
#include <QTime>
|
||||
|
||||
class UserlistProxy;
|
||||
class UserListProxy;
|
||||
|
||||
class GamesModel : public QAbstractTableModel
|
||||
{
|
||||
|
|
@ -66,7 +66,7 @@ class GamesProxyModel : public QSortFilterProxyModel
|
|||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
const UserlistProxy *userListProxy;
|
||||
const UserListProxy *userListProxy;
|
||||
|
||||
// If adding any additional filters, make sure to update:
|
||||
// - GamesProxyModel()
|
||||
|
|
@ -88,7 +88,7 @@ private:
|
|||
showOnlyIfSpectatorsCanSeeHands;
|
||||
|
||||
public:
|
||||
GamesProxyModel(QObject *parent = nullptr, const UserlistProxy *_userListProxy = nullptr);
|
||||
GamesProxyModel(QObject *parent = nullptr, const UserListProxy *_userListProxy = nullptr);
|
||||
|
||||
bool getShowBuddiesOnlyGames() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue