diff options
Diffstat (limited to 'amarok/src/playlistbrowseritem.cpp')
-rw-r--r-- | amarok/src/playlistbrowseritem.cpp | 162 |
1 files changed, 81 insertions, 81 deletions
diff --git a/amarok/src/playlistbrowseritem.cpp b/amarok/src/playlistbrowseritem.cpp index f0c476db..229340c4 100644 --- a/amarok/src/playlistbrowseritem.cpp +++ b/amarok/src/playlistbrowseritem.cpp @@ -156,15 +156,15 @@ PlaylistBrowserEntry::slotDoubleClicked() void PlaylistBrowserEntry::slotRenameItem() { - TQListViewItem *tqparent = KListViewItem::tqparent(); + TQListViewItem *parent = KListViewItem::parent(); - while( tqparent ) + while( parent ) { - if( !static_cast<PlaylistBrowserEntry*>( tqparent )->isKept() ) + if( !static_cast<PlaylistBrowserEntry*>( parent )->isKept() ) return; - if( !tqparent->tqparent() ) + if( !parent->parent() ) break; - tqparent = tqparent->tqparent(); + parent = parent->parent(); } setRenameEnabled( 0, true ); @@ -181,8 +181,8 @@ PlaylistBrowserEntry::slotPostRenameItem( const TQString /*newName*/ ) /// CLASS PlaylistCategory //////////////////////////////////////////////////////////////////////////// -PlaylistCategory::PlaylistCategory( TQListView *tqparent, TQListViewItem *after, const TQString &t, bool isFolder ) - : PlaylistBrowserEntry( tqparent, after ) +PlaylistCategory::PlaylistCategory( TQListView *parent, TQListViewItem *after, const TQString &t, bool isFolder ) + : PlaylistBrowserEntry( parent, after ) , m_title( t ) , m_id( -1 ) , m_folder( isFolder ) @@ -194,8 +194,8 @@ PlaylistCategory::PlaylistCategory( TQListView *tqparent, TQListViewItem *after, } -PlaylistCategory::PlaylistCategory( PlaylistCategory *tqparent, TQListViewItem *after, const TQString &t, bool isFolder ) - : PlaylistBrowserEntry( tqparent, after ) +PlaylistCategory::PlaylistCategory( PlaylistCategory *parent, TQListViewItem *after, const TQString &t, bool isFolder ) + : PlaylistBrowserEntry( parent, after ) , m_title( t ) , m_id( -1 ) , m_folder( isFolder ) @@ -207,8 +207,8 @@ PlaylistCategory::PlaylistCategory( PlaylistCategory *tqparent, TQListViewItem * } -PlaylistCategory::PlaylistCategory( TQListView *tqparent, TQListViewItem *after, const TQDomElement &xmlDefinition, bool isFolder ) - : PlaylistBrowserEntry( tqparent, after ) +PlaylistCategory::PlaylistCategory( TQListView *parent, TQListViewItem *after, const TQDomElement &xmlDefinition, bool isFolder ) + : PlaylistBrowserEntry( parent, after ) , m_id( -1 ) , m_folder( isFolder ) { @@ -219,8 +219,8 @@ PlaylistCategory::PlaylistCategory( TQListView *tqparent, TQListViewItem *after, } -PlaylistCategory::PlaylistCategory( PlaylistCategory *tqparent, TQListViewItem *after, const TQDomElement &xmlDefinition ) - : PlaylistBrowserEntry( tqparent, after ) +PlaylistCategory::PlaylistCategory( PlaylistCategory *parent, TQListViewItem *after, const TQDomElement &xmlDefinition ) + : PlaylistBrowserEntry( parent, after ) , m_id( -1 ) , m_folder( true ) { @@ -230,8 +230,8 @@ PlaylistCategory::PlaylistCategory( PlaylistCategory *tqparent, TQListViewItem * setPixmap( 0, SmallIcon( Amarok::icon( "files" ) ) ); } -PlaylistCategory::PlaylistCategory( PlaylistCategory *tqparent, TQListViewItem *after, const TQString &t, const int id ) - : PlaylistBrowserEntry( tqparent, after ) +PlaylistCategory::PlaylistCategory( PlaylistCategory *parent, TQListViewItem *after, const TQString &t, const int id ) + : PlaylistBrowserEntry( parent, after ) , m_title( t ) , m_id( id ) , m_folder( true ) @@ -249,7 +249,7 @@ void PlaylistCategory::okRename( int col ) if( m_id < 0 ) return; // update the database entry to have the correct name - const int parentId = tqparent() ? static_cast<PlaylistCategory*>(tqparent())->id() : 0; + const int parentId = parent() ? static_cast<PlaylistCategory*>(parent())->id() : 0; CollectionDB::instance()->updatePodcastFolder( m_id, text(0), parentId, isOpen() ); } @@ -401,8 +401,8 @@ PlaylistCategory::showContextMenu( const TQPoint &position ) TQListViewItem *parentCat = this; - while( parentCat->tqparent() ) - parentCat = parentCat->tqparent(); + while( parentCat->parent() ) + parentCat = parentCat->parent(); bool isPodcastFolder = false; @@ -553,8 +553,8 @@ PlaylistCategory::paintCell( TQPainter *p, const TQColorGroup &cg, int column, i /// CLASS PlaylistEntry //////////////////////////////////////////////////////////////////////////// -PlaylistEntry::PlaylistEntry( TQListViewItem *tqparent, TQListViewItem *after, const KURL &url, int tracks, int length ) - : PlaylistBrowserEntry( tqparent, after ) +PlaylistEntry::PlaylistEntry( TQListViewItem *parent, TQListViewItem *after, const KURL &url, int tracks, int length ) + : PlaylistBrowserEntry( parent, after ) , m_url( url ) , m_length( length ) , m_trackCount( tracks ) @@ -583,8 +583,8 @@ PlaylistEntry::PlaylistEntry( TQListViewItem *tqparent, TQListViewItem *after, c } -PlaylistEntry::PlaylistEntry( TQListViewItem *tqparent, TQListViewItem *after, const TQDomElement &xmlDefinition ) - : PlaylistBrowserEntry( tqparent, after ) +PlaylistEntry::PlaylistEntry( TQListViewItem *parent, TQListViewItem *after, const TQDomElement &xmlDefinition ) + : PlaylistBrowserEntry( parent, after ) , m_loading( false ) , m_loaded( false ) , m_dynamic( false ) @@ -1053,15 +1053,15 @@ TQDomElement PlaylistEntry::xml() const /// CLASS PlaylistTrackItem //////////////////////////////////////////////////////////////////////////////// -PlaylistTrackItem::PlaylistTrackItem( TQListViewItem *tqparent, TQListViewItem *after, TrackItemInfo *info ) - : PlaylistBrowserEntry( tqparent, after ) +PlaylistTrackItem::PlaylistTrackItem( TQListViewItem *parent, TQListViewItem *after, TrackItemInfo *info ) + : PlaylistBrowserEntry( parent, after ) , m_trackInfo( info ) { setDragEnabled( true ); setRenameEnabled( 0, false ); - PlaylistEntry *p = dynamic_cast<PlaylistEntry *>(tqparent); + PlaylistEntry *p = dynamic_cast<PlaylistEntry *>(parent); if(!p) - debug() << "tqparent: " << tqparent << " is not a PlaylistEntry" << endl; + debug() << "parent: " << parent << " is not a PlaylistEntry" << endl; if( p && p->text( 0 ).contains( info->artist() ) ) setText( 0, info->title() ); else @@ -1155,8 +1155,8 @@ TrackItemInfo::TrackItemInfo( const MetaBundle &mb ) /// CLASS StreamEntry //////////////////////////////////////////////////////////////////////////// -StreamEntry::StreamEntry( TQListViewItem *tqparent, TQListViewItem *after, const KURL &u, const TQString &t ) - : PlaylistBrowserEntry( tqparent, after ) +StreamEntry::StreamEntry( TQListViewItem *parent, TQListViewItem *after, const KURL &u, const TQString &t ) + : PlaylistBrowserEntry( parent, after ) , m_title( t ) , m_url( u ) { @@ -1172,8 +1172,8 @@ StreamEntry::StreamEntry( TQListViewItem *tqparent, TQListViewItem *after, const setText( 0, m_title ); } -StreamEntry::StreamEntry( TQListViewItem *tqparent, TQListViewItem *after, const TQDomElement &xmlDefinition ) - : PlaylistBrowserEntry( tqparent, after ) +StreamEntry::StreamEntry( TQListViewItem *parent, TQListViewItem *after, const TQDomElement &xmlDefinition ) + : PlaylistBrowserEntry( parent, after ) { setDragEnabled( true ); setRenameEnabled( 0, true ); @@ -1354,8 +1354,8 @@ TQDomElement LastFmEntry::xml() const /// CLASS StreamEditor //////////////////////////////////////////////////////////////////////////// -StreamEditor::StreamEditor( TQWidget *tqparent, const TQString &title, const TQString &url, bool readonly ) - : KDialogBase( tqparent, "StreamEditor", true, TQString(), Ok|Cancel) +StreamEditor::StreamEditor( TQWidget *parent, const TQString &title, const TQString &url, bool readonly ) + : KDialogBase( parent, "StreamEditor", true, TQString(), Ok|Cancel) { makeGridMainWidget( 2, Qt::Horizontal ); @@ -1387,16 +1387,16 @@ StreamEditor::StreamEditor( TQWidget *tqparent, const TQString &title, const TQS ///////////////////////////////////////////////////////////////////////////// /// CLASS DynamicEntry //////////////////////////////////////////////////////////////////////////// -DynamicEntry::DynamicEntry( TQListViewItem *tqparent, TQListViewItem *after, const TQString &name ) - : PlaylistBrowserEntry( tqparent, after, name ) +DynamicEntry::DynamicEntry( TQListViewItem *parent, TQListViewItem *after, const TQString &name ) + : PlaylistBrowserEntry( parent, after, name ) , DynamicMode( name ) { setPixmap( 0, SmallIcon( Amarok::icon( "dynamic" ) ) ); setDragEnabled( true ); } -DynamicEntry::DynamicEntry( TQListViewItem *tqparent, TQListViewItem *after, const TQDomElement &xmlDefinition ) - : PlaylistBrowserEntry( tqparent, after ) +DynamicEntry::DynamicEntry( TQListViewItem *parent, TQListViewItem *after, const TQDomElement &xmlDefinition ) + : PlaylistBrowserEntry( parent, after ) , DynamicMode( xmlDefinition.attribute( "name" ) ) { setPixmap( 0, SmallIcon( Amarok::icon( "dynamic" ) ) ); @@ -1511,15 +1511,15 @@ DynamicEntry::showContextMenu( const TQPoint &position ) /// CLASS PodcastChannel //////////////////////////////////////////////////////////////////////////// -PodcastChannel::PodcastChannel( TQListViewItem *tqparent, TQListViewItem *after, const KURL &url ) - : PlaylistBrowserEntry( tqparent, after ) +PodcastChannel::PodcastChannel( TQListViewItem *parent, TQListViewItem *after, const KURL &url ) + : PlaylistBrowserEntry( parent, after ) , m_polished( true ) // we get the items immediately if url is given , m_url( url ) , m_fetching( false ) , m_updating( false ) , m_new( false ) , m_hasProblem( false ) - , m_tqparent( static_cast<PlaylistCategory*>(tqparent) ) + , m_parent( static_cast<PlaylistCategory*>(parent) ) , m_settingsValid( false ) { setDragEnabled( true ); @@ -1531,16 +1531,16 @@ PodcastChannel::PodcastChannel( TQListViewItem *tqparent, TQListViewItem *after, fetch(); } -PodcastChannel::PodcastChannel( TQListViewItem *tqparent, TQListViewItem *after, const KURL &url, +PodcastChannel::PodcastChannel( TQListViewItem *parent, TQListViewItem *after, const KURL &url, const TQDomNode &channelSettings ) - : PlaylistBrowserEntry( tqparent, after ) + : PlaylistBrowserEntry( parent, after ) , m_polished( true ) // we get the items immediately if url is given , m_url( url ) , m_fetching( false ) , m_updating( false ) , m_new( false ) , m_hasProblem( false ) - , m_tqparent( static_cast<PlaylistCategory*>(tqparent) ) + , m_parent( static_cast<PlaylistCategory*>(parent) ) , m_settingsValid( true ) { setDragEnabled( true ); @@ -1554,17 +1554,17 @@ PodcastChannel::PodcastChannel( TQListViewItem *tqparent, TQListViewItem *after, fetch(); } -PodcastChannel::PodcastChannel( TQListViewItem *tqparent, TQListViewItem *after, +PodcastChannel::PodcastChannel( TQListViewItem *parent, TQListViewItem *after, const KURL &url, const TQDomNode &channelSettings, const TQDomDocument &xmlDefinition ) - : PlaylistBrowserEntry( tqparent, after ) + : PlaylistBrowserEntry( parent, after ) , m_polished( true ) //automatically load the channel , m_url( url ) , m_fetching( false ) , m_updating( false ) , m_new( false ) , m_hasProblem( false ) - , m_tqparent( static_cast<PlaylistCategory*>(tqparent) ) + , m_parent( static_cast<PlaylistCategory*>(parent) ) , m_settingsValid( true ) { TQDomNode type = xmlDefinition.namedItem("rss"); @@ -1581,8 +1581,8 @@ PodcastChannel::PodcastChannel( TQListViewItem *tqparent, TQListViewItem *after, setPixmap( 0, SmallIcon( Amarok::icon( "podcast" ) ) ); } -PodcastChannel::PodcastChannel( TQListViewItem *tqparent, TQListViewItem *after, const PodcastChannelBundle &pcb ) - : PlaylistBrowserEntry( tqparent, after ) +PodcastChannel::PodcastChannel( TQListViewItem *parent, TQListViewItem *after, const PodcastChannelBundle &pcb ) + : PlaylistBrowserEntry( parent, after ) , m_bundle( pcb ) , m_polished( false ) , m_url( pcb.url() ) @@ -1590,7 +1590,7 @@ PodcastChannel::PodcastChannel( TQListViewItem *tqparent, TQListViewItem *after, , m_updating( false ) , m_new( false ) , m_hasProblem( false ) - , m_tqparent( static_cast<PlaylistCategory*>(tqparent) ) + , m_parent( static_cast<PlaylistCategory*>(parent) ) , m_settingsValid( true ) { setText( 0, title() ); @@ -1964,7 +1964,7 @@ PodcastChannel::setXml( const TQDomNode &xml, const int feedType ) delete settings; m_bundle.setImageURL( KURL::fromPathOrURL( img ) ); - m_bundle.setParentId( m_tqparent->id() ); + m_bundle.setParentId( m_parent->id() ); if( !m_updating ) { // don't reinsert on a refresh debug() << "Adding podcast to database" << endl; @@ -2056,7 +2056,7 @@ PodcastChannel::episodeExists( const TQDomNode &xml, const int feedType ) TQString guid = xml.namedItem( "guid" ).toElement().text(); if( !guid.isEmpty() ) { - command = TQString("SELECT id FROM podcastepisodes WHERE tqparent='%1' AND guid='%2';") + command = TQString("SELECT id FROM podcastepisodes WHERE parent='%1' AND guid='%2';") .tqarg( CollectionDB::instance()->escapeString( url().url() ), CollectionDB::instance()->escapeString( guid ) ); TQStringList values = CollectionDB::instance()->query( command ); @@ -2065,7 +2065,7 @@ PodcastChannel::episodeExists( const TQDomNode &xml, const int feedType ) TQString episodeTitle = xml.namedItem( "title" ).toElement().text(); KURL episodeURL = xml.namedItem( "enclosure" ).toElement().attribute( "url" ); - command = TQString("SELECT id FROM podcastepisodes WHERE tqparent='%1' AND url='%2' AND title='%3';") + command = TQString("SELECT id FROM podcastepisodes WHERE parent='%1' AND url='%2' AND title='%3';") .tqarg( CollectionDB::instance()->escapeString( url().url() ), CollectionDB::instance()->escapeString( episodeURL.url() ), CollectionDB::instance()->escapeString( episodeTitle ) ); @@ -2079,7 +2079,7 @@ PodcastChannel::episodeExists( const TQDomNode &xml, const int feedType ) TQString guid = xml.namedItem( "id" ).toElement().text(); if( !guid.isEmpty() ) { - command = TQString("SELECT id FROM podcastepisodes WHERE tqparent='%1' AND guid='%2';") + command = TQString("SELECT id FROM podcastepisodes WHERE parent='%1' AND guid='%2';") .tqarg( CollectionDB::instance()->escapeString( url().url() ), CollectionDB::instance()->escapeString( guid ) ); TQStringList values = CollectionDB::instance()->query( command ); @@ -2098,7 +2098,7 @@ PodcastChannel::episodeExists( const TQDomNode &xml, const int feedType ) } } - command = TQString("SELECT id FROM podcastepisodes WHERE tqparent='%1' AND url='%2' AND title='%3';") + command = TQString("SELECT id FROM podcastepisodes WHERE parent='%1' AND url='%2' AND title='%3';") .tqarg( CollectionDB::instance()->escapeString( url().url() ), CollectionDB::instance()->escapeString( episodeURL ), CollectionDB::instance()->escapeString( episodeTitle ) ); @@ -2113,15 +2113,15 @@ PodcastChannel::episodeExists( const TQDomNode &xml, const int feedType ) void PodcastChannel::setParent( PlaylistCategory *newParent ) { - if( newParent != m_tqparent ) + if( newParent != m_parent ) { - m_tqparent->takeItem( this ); + m_parent->takeItem( this ); newParent->insertItem( this ); newParent->sortChildItems( 0, true ); - m_tqparent = newParent; + m_parent = newParent; } - m_bundle.setParentId( m_tqparent->id() ); + m_bundle.setParentId( m_parent->id() ); CollectionDB::instance()->updatePodcastChannel( m_bundle ); } @@ -2355,10 +2355,10 @@ PodcastChannel::showContextMenu( const TQPoint &position ) /// @note we fucking hate itunes for taking over podcasts and inserting /// their own attributes. //////////////////////////////////////////////////////////////////////////// -PodcastEpisode::PodcastEpisode( TQListViewItem *tqparent, TQListViewItem *after, +PodcastEpisode::PodcastEpisode( TQListViewItem *parent, TQListViewItem *after, const TQDomElement &xml, const int feedType, const bool &isNew ) - : PlaylistBrowserEntry( tqparent, after ) - , m_tqparent( tqparent ) + : PlaylistBrowserEntry( parent, after ) + , m_parent( parent ) , m_fetching( false ) , m_onDisk( false ) , m_localUrl( KURL() ) @@ -2428,7 +2428,7 @@ PodcastEpisode::PodcastEpisode( TQListViewItem *tqparent, TQListViewItem *after, if( title.isEmpty() ) title = link.fileName(); - KURL parentUrl = static_cast<PodcastChannel*>(tqparent)->url(); + KURL parentUrl = static_cast<PodcastChannel*>(parent)->url(); m_bundle.setDBId( -1 ); m_bundle.setURL( link ); m_bundle.setParent( parentUrl ); @@ -2452,9 +2452,9 @@ PodcastEpisode::PodcastEpisode( TQListViewItem *tqparent, TQListViewItem *after, setRenameEnabled( 0, false ); } -PodcastEpisode::PodcastEpisode( TQListViewItem *tqparent, TQListViewItem *after, PodcastEpisodeBundle &bundle ) - : PlaylistBrowserEntry( tqparent, after ) - , m_tqparent( tqparent ) +PodcastEpisode::PodcastEpisode( TQListViewItem *parent, TQListViewItem *after, PodcastEpisodeBundle &bundle ) + : PlaylistBrowserEntry( parent, after ) + , m_parent( parent ) , m_bundle( bundle ) , m_fetching( false ) , m_onDisk( false ) @@ -2550,7 +2550,7 @@ PodcastEpisode::downloadMedia() connect( &m_animationTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAnimation()) ); KURL localDir; - PodcastChannel *channel = dynamic_cast<PodcastChannel*>(m_tqparent); + PodcastChannel *channel = dynamic_cast<PodcastChannel*>(m_parent); if( channel ) localDir = KURL::fromPathOrURL( channel->saveLocation() ); else @@ -2633,7 +2633,7 @@ void PodcastEpisode::downloadResult( KIO::Job * transferJob ) setLocalUrl( m_localUrl ); - PodcastChannel *channel = dynamic_cast<PodcastChannel *>( m_tqparent ); + PodcastChannel *channel = dynamic_cast<PodcastChannel *>( m_parent ); if( channel && channel->autotransfer() && MediaBrowser::isAvailable() ) { addToMediaDevice(); @@ -2658,7 +2658,7 @@ void PodcastEpisode::addToMediaDevice() { MetaBundle *bundle = new MetaBundle( localUrl() ); - PodcastChannel *channel = dynamic_cast<PodcastChannel *>( m_tqparent ); + PodcastChannel *channel = dynamic_cast<PodcastChannel *>( m_parent ); if(channel && !channel->title().isEmpty()) bundle->setAlbum(channel->title()); if(!title().isEmpty()) @@ -2687,11 +2687,11 @@ PodcastEpisode::setNew( const bool &n ) updatePixmap(); CollectionDB::instance()->updatePodcastEpisode( dBId(), m_bundle ); - // if we mark an item as listened, we might need to update the tqparent + // if we mark an item as listened, we might need to update the parent if( n == true ) - static_cast<PodcastChannel*>(m_tqparent)->setNew( true ); + static_cast<PodcastChannel*>(m_parent)->setNew( true ); else - static_cast<PodcastChannel*>(m_tqparent)->checkAndSetNew(); + static_cast<PodcastChannel*>(m_parent)->checkAndSetNew(); } void @@ -2776,7 +2776,7 @@ PodcastEpisode::paintCell( TQPainter *p, const TQColorGroup &cg, int column, int if( fmName.width( name ) > _width ) { //decapitateString removes the channels title from the epsiodes title - name = Amarok::decapitateString( name, static_cast<PodcastChannel *>(m_tqparent)->title() ); + name = Amarok::decapitateString( name, static_cast<PodcastChannel *>(m_parent)->title() ); if( fmName.width( name ) > _width ) name = KStringHandler::rPixelSqueeze( name, pBuf.fontMetrics(), _width ); } @@ -2983,8 +2983,8 @@ class AssociatePodcastDialog : public KDialogBase vbox->setSpacing( KDialog::spacingHint() ); m_urlRequester = new KURLRequester( vbox ); - if( dynamic_cast<PodcastChannel *>(item->tqparent()) ) - m_urlRequester->setURL( static_cast<PodcastChannel *>(item->tqparent())->saveLocation() ); + if( dynamic_cast<PodcastChannel *>(item->parent()) ) + m_urlRequester->setURL( static_cast<PodcastChannel *>(item->parent())->saveLocation() ); } KURL url() const { return KURL::fromPathOrURL( m_urlRequester->url() ); } }; @@ -3007,8 +3007,8 @@ PodcastEpisode::associateWithLocalFile() /// CLASS SmartPlaylist //////////////////////////////////////////////////////////////////////////// -SmartPlaylist::SmartPlaylist( TQListViewItem *tqparent, TQListViewItem *after, const TQString &name, const TQString &query ) - : PlaylistBrowserEntry( tqparent, after, name ) +SmartPlaylist::SmartPlaylist( TQListViewItem *parent, TQListViewItem *after, const TQString &name, const TQString &query ) + : PlaylistBrowserEntry( parent, after, name ) , m_sqlForTags( query ) , m_title( name ) , m_dynamic( false ) @@ -3019,8 +3019,8 @@ SmartPlaylist::SmartPlaylist( TQListViewItem *tqparent, TQListViewItem *after, c setText( 0, name ); } -SmartPlaylist::SmartPlaylist( TQListViewItem *tqparent, TQListViewItem *after, const TQString &name, const TQString &urls, const TQString &tags ) - : PlaylistBrowserEntry( tqparent, after, name ) +SmartPlaylist::SmartPlaylist( TQListViewItem *parent, TQListViewItem *after, const TQString &name, const TQString &urls, const TQString &tags ) + : PlaylistBrowserEntry( parent, after, name ) , m_sqlForTags( tags ) , m_title( name ) , m_dynamic( false ) @@ -3032,8 +3032,8 @@ SmartPlaylist::SmartPlaylist( TQListViewItem *tqparent, TQListViewItem *after, c } -SmartPlaylist::SmartPlaylist( TQListViewItem *tqparent, TQListViewItem *after, const TQDomElement &xmlDefinition ) - : PlaylistBrowserEntry( tqparent, after ) +SmartPlaylist::SmartPlaylist( TQListViewItem *parent, TQListViewItem *after, const TQDomElement &xmlDefinition ) + : PlaylistBrowserEntry( parent, after ) , m_after( after ) , m_dynamic( false ) { @@ -3454,8 +3454,8 @@ void SmartPlaylist::slotPostRenameItem( const TQString newName ) xml().setAttribute( "name", newName ); } -ShoutcastBrowser::ShoutcastBrowser( PlaylistCategory *tqparent ) - : PlaylistCategory( tqparent, 0, i18n( "Shoutcast Streams" ) ) +ShoutcastBrowser::ShoutcastBrowser( PlaylistCategory *parent ) + : PlaylistCategory( parent, 0, i18n( "Shoutcast Streams" ) ) , m_downloading( false ) , m_cj( 0 ) , m_loading1( new TQPixmap( locate("data", "amarok/images/loading1.png" ) ) ) |