mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Added MetaPlaylistInterface::removeChildInterface. Does what it says on the tin.
This commit is contained in:
@@ -52,6 +52,13 @@ MetaPlaylistInterface::addChildInterface( const Tomahawk::playlistinterface_ptr&
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
MetaPlaylistInterface::removeChildInterface( const Tomahawk::playlistinterface_ptr& interface )
|
||||||
|
{
|
||||||
|
m_childInterfaces.removeAll( interface );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
QList< Tomahawk::query_ptr >
|
QList< Tomahawk::query_ptr >
|
||||||
MetaPlaylistInterface::tracks() const
|
MetaPlaylistInterface::tracks() const
|
||||||
{
|
{
|
||||||
|
@@ -38,6 +38,7 @@ public:
|
|||||||
virtual ~MetaPlaylistInterface();
|
virtual ~MetaPlaylistInterface();
|
||||||
|
|
||||||
void addChildInterface( const Tomahawk::playlistinterface_ptr& interface );
|
void addChildInterface( const Tomahawk::playlistinterface_ptr& interface );
|
||||||
|
void removeChildInterface( const Tomahawk::playlistinterface_ptr& interface );
|
||||||
|
|
||||||
virtual QList< Tomahawk::query_ptr > tracks() const;
|
virtual QList< Tomahawk::query_ptr > tracks() const;
|
||||||
virtual int trackCount() const;
|
virtual int trackCount() const;
|
||||||
|
Reference in New Issue
Block a user