void createInternetGameDialogImpl::exec(bool guestMode, QString playerName) { currentGuestMode = guestMode; currentPlayerName = playerName; fillFormular(guestMode, playerName); QDialog::exec(); }
createNetworkGameDialogImpl::createNetworkGameDialogImpl(QWidget *parent, ConfigFile *c) : QDialog(parent), myConfig(c) { #ifdef __APPLE__ setWindowModality(Qt::ApplicationModal); setWindowFlags(Qt::WindowSystemMenuHint | Qt::CustomizeWindowHint | Qt::Dialog); #endif setupUi(this); this->installEventFilter(this); myChangeCompleteBlindsDialog = new changeCompleteBlindsDialogImpl; fillFormular(); connect( radioButton_changeBlindsSettings, SIGNAL( clicked(bool) ), this, SLOT( callChangeBlindsDialog(bool) ) ); #ifndef GUI_800x480 connect( pushButton_cancel, SIGNAL( clicked() ), this, SLOT( cancel() ) ); #endif connect( pushButton_createGame, SIGNAL( clicked() ), this, SLOT( createGame() ) ); }
void createNetworkGameDialogImpl::exec() { fillFormular(); QDialog::exec(); }
void createNetworkGameDialogImpl::showDialog() { fillFormular(); exec(); }