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

QPixmap * Card::backgroundPixmap (  )  [static]

return a pixmap for the background of a card.

Definition at line 97 of file card.cpp.

References Settings::cardBackground().

{
    if( !m_background ) {
        QString deck = Settings::instance()->cardBackground();
        m_background = new QPixmap( deck );
    }
    
    return m_background;
}


Generated by  Doxygen 1.6.0   Back to index