diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:15:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:15:24 -0600 |
commit | 8d9b90ca794ffabf151719c2edebe9278a2d3f36 (patch) | |
tree | 55f446de8694c45be6bf0f1178920c2b92b0c9f5 /src/gui/listview.cpp | |
parent | 2781e27b871150395a5a82e221684108641002b2 (diff) | |
download | tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.tar.gz tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.zip |
Rename old tq methods that no longer need a unique name
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 } |