diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:14 -0600 |
commit | ee4b31b7bd3e899cad30866bf083c3ff6a4a9fc8 (patch) | |
tree | 0630bc6a5a0e9a1187503dca93799ee21055d050 /src/playlistview.cpp | |
parent | f97c8a56e217f04e08776ccf8021721b7d919b7d (diff) | |
download | kmplayer-ee4b31b7bd3e899cad30866bf083c3ff6a4a9fc8.tar.gz kmplayer-ee4b31b7bd3e899cad30866bf083c3ff6a4a9fc8.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit f97c8a56e217f04e08776ccf8021721b7d919b7d.
Diffstat (limited to 'src/playlistview.cpp')
-rw-r--r-- | src/playlistview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/playlistview.cpp b/src/playlistview.cpp index 106047b..20a761e 100644 --- a/src/playlistview.cpp +++ b/src/playlistview.cpp @@ -21,7 +21,7 @@ #include <config.h> // include files for TQt #include <tqapplication.h> -#include <clipboard.h> +#include <tqclipboard.h> #include <tqpopupmenu.h> #include <tqdrawutil.h> #include <tqpainter.h> @@ -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->topLevelWidget()->paletteBackgroundColor()); + mycg.setColor (TQColorGroup::Base, listview->tqtopLevelWidget()->paletteBackgroundColor()); mycg.setColor (TQColorGroup::Highlight, mycg.base ()); - mycg.setColor (TQColorGroup::Text, listview->topLevelWidget()->paletteForegroundColor()); + mycg.setColor (TQColorGroup::Text, listview->tqtopLevelWidget()->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 = focusWidget (); + TQWidget * w = tqfocusWidget (); if (w && w != this) w->clearFocus (); //setSelected (firstChild (), true); @@ -410,7 +410,7 @@ void PlayListView::copyToClipboard () { if (mrl && !mrl->src.isEmpty ()) text = mrl->src; } - TQApplication::clipboard()->setText (text); + TQApplication::tqclipboard()->setText (text); } void PlayListView::addBookMark () { |