diff options
Diffstat (limited to 'src/gui/listview.cpp')
-rw-r--r-- | src/gui/listview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/listview.cpp b/src/gui/listview.cpp index f5595ea..c3c3998 100644 --- a/src/gui/listview.cpp +++ b/src/gui/listview.cpp @@ -154,7 +154,7 @@ void ListView::setShadeSortColumn(bool shade_) { void ListView::slotUpdateColors() { #if !KDE_IS_VERSION(3,3,90) - m_backColor2 = viewport()->tqcolorGroup().base(); + m_backColor2 = viewport()->colorGroup().base(); if(m_backColor2 == TQt::black) { m_backColor2 = TQColor(50, 50, 50); // dark gray } else { @@ -180,7 +180,7 @@ void ListView::slotUpdateColors() { } } #endif - Tellico::updateContrastColor(viewport()->tqcolorGroup()); + Tellico::updateContrastColor(viewport()->colorGroup()); tqrepaint(); } @@ -300,7 +300,7 @@ TQColor ListViewItem::backgroundColor(int column_) { if(view->columns() > 1 && view->shadeSortColumn() && column_ == view->sortColumn()) { return isAlternate() ? view->alternateBackground2() : view->background2(); } - return isAlternate() ? view->alternateBackground() : view->viewport()->tqcolorGroup().base(); + return isAlternate() ? view->alternateBackground() : view->viewport()->colorGroup().base(); #endif } |