Files
pokerth/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.h
T

51 lines
840 B
C++
Raw Normal View History

2007-08-20 21:23:03 +00:00
//
// C++ Interface: gamelobbydialogimpl
//
// Description:
//
//
// Author: FThauer FHammer <webmaster@pokerth.net>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef GAMELOBBYDIALOGIMPL_H
#define GAMELOBBYDIALOGIMPL_H
#include <ui_gamelobbydialog.h>
#include <QtGui>
#include <QtCore>
class Session;
class ConfigFile;
2007-08-20 21:23:03 +00:00
/**
@author FThauer FHammer <webmaster@pokerth.net>
*/
class gameLobbyDialogImpl: public QDialog, public Ui::gameLobbyDialog {
Q_OBJECT
public:
gameLobbyDialogImpl(QWidget *parent = 0, ConfigFile* = 0);
~gameLobbyDialogImpl();
2007-08-20 21:23:03 +00:00
void exec();
void setSession(Session *session);
2007-08-20 21:23:03 +00:00
public slots:
void createGame();
void joinGame();
2007-08-20 21:23:03 +00:00
void addGame(QString gameName);
void removeGame(QString gameName);
private:
ConfigFile *myConfig;
Session *mySession;
2007-08-20 21:23:03 +00:00
};
#endif