add gamelist filter to the lobby

This commit is contained in:
doitux committed 2009-06-14 22:56:49 +00:00
1 parent 4b5d78af81
commit 677764fd80
5 files changed
+240 -23

No files matched your search

@@ -28,10 +28,12 @@ class Session;
class ConfigFile;
class LobbyChat;
class startWindowImpl;
class MyGameListSortFilterProxyModel;
/**
@author FThauer FHammer <webmaster@pokerth.net>
*/
class gameLobbyDialogImpl: public QDialog, public Ui::gameLobbyDialog {
Q_OBJECT
public:
@@ -106,6 +108,8 @@ public slots:
void closeEvent(QCloseEvent *event);
void writeDialogSettings();
void readDialogSettings();
void changeGameListFilter(int);
private:
gameTableImpl* myW;
@@ -124,7 +128,7 @@ private:
QTimer *waitStartGameMsgBoxTimer;
QStandardItemModel *myGameListModel;
QItemSelectionModel *myGameListSelectionModel;
QSortFilterProxyModel *myGameListSortFilterProxyModel;
MyGameListSortFilterProxyModel *myGameListSortFilterProxyModel;
protected:
bool eventFilter(QObject *obj, QEvent *event);