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

t_ResultValues * Settings::pointResults (  )  const

delete after usage

Definition at line 237 of file settings.cpp.

References t_ResultValues::laufende, t_ResultValues::ramsch, t_ResultValues::rufspiel, t_ResultValues::schneider, t_ResultValues::schwarz, and t_ResultValues::solo.

{
    QMutexLocker locker( m_mutex );

    t_ResultValues* r = new t_ResultValues;
    KConfig* config = kapp->config();
    config->setGroup( "PointValues" );
    r->solo = config->readNumEntry( "Solo", 2 );
    r->rufspiel = config->readNumEntry( "Rufspiel", 1 );
    r->laufende = config->readNumEntry( "Laufende", 1 );
    r->schneider = config->readNumEntry( "Schneider", 1 );
    r->schwarz = config->readNumEntry( "Schwarz", 1 );
    r->ramsch = config->readNumEntry( "Ramsch", 1 );
    return r;    
}


Generated by  Doxygen 1.6.0   Back to index