summaryrefslogtreecommitdiffstats
path: root/amarok/src/directorylist.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:01:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:01:12 -0600
commitca249ab4c84ef5672ce82e80cf7f27197ad5b5d2 (patch)
tree1b9a4dc42ad83c0b967b5fbed7023dd6eca0938a /amarok/src/directorylist.cpp
parent708e0debf366cbe6a2c966a3127ba82a9fdc07e5 (diff)
downloadamarok-ca249ab4c84ef5672ce82e80cf7f27197ad5b5d2.tar.gz
amarok-ca249ab4c84ef5672ce82e80cf7f27197ad5b5d2.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'amarok/src/directorylist.cpp')
-rw-r--r--amarok/src/directorylist.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/amarok/src/directorylist.cpp b/amarok/src/directorylist.cpp
index 91c4641c..05b3e302 100644
--- a/amarok/src/directorylist.cpp
+++ b/amarok/src/directorylist.cpp
@@ -39,7 +39,7 @@ CollectionSetup::CollectionSetup( TQWidget *parent )
(new TQLabel( i18n(
"These folders will be scanned for "
- "media to make up your collection:"), this ))->tqsetAlignment( TQt::WordBreak );
+ "media to make up your collection:"), this ))->setAlignment( TQt::WordBreak );
m_view = new TQFixedListView( this );
m_recursive = new TQCheckBox( i18n("&Scan folders recursively"), this );
@@ -61,7 +61,7 @@ CollectionSetup::CollectionSetup( TQWidget *parent )
m_view->addColumn( TQString() );
m_view->setRootIsDecorated( true );
- m_view->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
+ m_view->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
m_view->setResizeMode( TQListView::LastColumn );
reinterpret_cast<TQWidget*>(m_view->header())->hide();
@@ -294,7 +294,7 @@ Item::paintCell( TQPainter * p, const TQColorGroup & cg, int column, int width,
// Figure out if a child folder is activated
for ( TQStringList::const_iterator iter = cs_m_dirs.begin(); iter != cs_m_dirs.end();
++iter )
- if ( ( *iter ).tqstartsWith( m_url.path(1) ) )
+ if ( ( *iter ).startsWith( m_url.path(1) ) )
if ( *iter != "/" ) // "/" should not match as a child of "/"
dirty = true;
@@ -303,7 +303,7 @@ Item::paintCell( TQPainter * p, const TQColorGroup & cg, int column, int width,
TQColorGroup _cg = cg;
if ( dirty )
{
- _cg.setColor( TQColorGroup::Text, listView()->tqcolorGroup().link() );
+ _cg.setColor( TQColorGroup::Text, listView()->colorGroup().link() );
TQFont font = p->font();
font.setBold( !font.bold() );
p->setFont( font );