Logo Search packages:      
Sourcecode: koffice version File versions

QColor KoTextFormat::defaultTextColor ( QPainter *  painter  )  [static]

Call this when a text color is set to 'invalid', meaning 'whatever the default for the color scheme is'

Definition at line 642 of file kotextformat.cc.

Referenced by KWTextFrameSet::drawContents(), and KoVariable::drawCustomItemHelper().

    if ( painter->device()->devType() == QInternal::Printer )
        return Qt::black;
    return QApplication::palette().color( QPalette::Active, QColorGroup::Text );

Generated by  Doxygen 1.6.0   Back to index