diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:10:16 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-18 23:49:43 +0200 |
commit | e1c9b8f5bbbf686e798b84f91f205bf512417ea7 (patch) | |
tree | c44a0078d920ea11d76bb0df7dd0ec640173683b /src/playlistview.cpp | |
parent | 5f87f03087289613a11d176e1f57233b572714d6 (diff) | |
download | kmplayer-e1c9b8f5bbbf686e798b84f91f205bf512417ea7.tar.gz kmplayer-e1c9b8f5bbbf686e798b84f91f205bf512417ea7.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 81ad3b51a1f061b0934426aaf339917f76c0cfc5)
Diffstat (limited to 'src/playlistview.cpp')
-rw-r--r-- | src/playlistview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/playlistview.cpp b/src/playlistview.cpp index 20a761e..7a5cfc9 100644 --- a/src/playlistview.cpp +++ b/src/playlistview.cpp @@ -96,9 +96,9 @@ RootPlayListItem::RootPlayListItem (int _id, PlayListView *v, const NodePtr & e, KDE_NO_CDTOR_EXPORT void RootPlayListItem::paintCell (TQPainter * p, const TQColorGroup & cg, int column, int width, int align) { TQColorGroup mycg (cg); - mycg.setColor (TQColorGroup::Base, listview->tqtopLevelWidget()->paletteBackgroundColor()); + mycg.setColor (TQColorGroup::Base, listview->topLevelWidget()->paletteBackgroundColor()); mycg.setColor (TQColorGroup::Highlight, mycg.base ()); - mycg.setColor (TQColorGroup::Text, listview->tqtopLevelWidget()->paletteForegroundColor()); + mycg.setColor (TQColorGroup::Text, listview->topLevelWidget()->paletteForegroundColor()); mycg.setColor (TQColorGroup::HighlightedText, mycg.text ()); TQListViewItem::paintCell (p, mycg, column, width, align); qDrawShadeRect (p, 0, 0, width -1, height () -1, mycg, !isOpen ()); @@ -238,7 +238,7 @@ void PlayListView::updateTree (int id, NodePtr root, NodePtr active, bool select, bool open) { // TODO, if root is same as rootitems->node and treeversion is the same // and show all nodes is unchanged then only update the cells - TQWidget * w = tqfocusWidget (); + TQWidget * w = focusWidget (); if (w && w != this) w->clearFocus (); //setSelected (firstChild (), true); |