Logo Search packages:      
Sourcecode: schafkopf version File versions  Download package

void SchafKopf::newGame (  )  [private, slot]

Start a new game

Definition at line 301 of file schafkopf.cpp.

References endGame(), and newgamewizard::getGame().

{
    newgamewizard* ng = new newgamewizard(this);

    if ( ng->exec() == QDialog::Accepted )
    {
        int game=ng->getGame();
        switch(game)
        {
        case newgamewizard::GAME_LOCAL:
            endGame();
            QTimer::singleShot(0, this, SLOT(realNewGame()));
            break;
        }

    }

    delete ng;
}


Generated by  Doxygen 1.6.0   Back to index