|
|
|
@ -184,8 +184,8 @@ void KoTemplatesPane::openTemplate(TQListViewItem* item)
|
|
|
|
|
void KoTemplatesPane::changePalette()
|
|
|
|
|
{
|
|
|
|
|
TQPalette p = kapp ? kapp->palette() : palette();
|
|
|
|
|
p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Normal, TQColorGroup::Background));
|
|
|
|
|
p.setColor(TQColorGroup::Text, p.color(TQPalette::Normal, TQColorGroup::Foreground));
|
|
|
|
|
p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Active, TQColorGroup::Background));
|
|
|
|
|
p.setColor(TQColorGroup::Text, p.color(TQPalette::Active, TQColorGroup::Foreground));
|
|
|
|
|
m_detailsLabel->setPalette(p);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -437,8 +437,8 @@ void KoRecentDocumentsPane::updatePreview(const KFileItem* fileItem, const TQPix
|
|
|
|
|
void KoRecentDocumentsPane::changePalette()
|
|
|
|
|
{
|
|
|
|
|
TQPalette p = kapp ? kapp->palette() : palette();
|
|
|
|
|
p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Normal, TQColorGroup::Background));
|
|
|
|
|
p.setColor(TQColorGroup::Text, p.color(TQPalette::Normal, TQColorGroup::Foreground));
|
|
|
|
|
p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Active, TQColorGroup::Background));
|
|
|
|
|
p.setColor(TQColorGroup::Text, p.color(TQPalette::Active, TQColorGroup::Foreground));
|
|
|
|
|
m_detailsLabel->setPalette(p);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|