mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 13:17:34 +02:00
This doesn't actually help, but maybe is "correct"...? Or quite possibly not.
This commit is contained in:
@@ -38,7 +38,7 @@ public:
|
|||||||
static album_ptr get( unsigned int id, const QString& name, const Tomahawk::artist_ptr& artist );
|
static album_ptr get( unsigned int id, const QString& name, const Tomahawk::artist_ptr& artist );
|
||||||
|
|
||||||
Album( unsigned int id, const QString& name, const Tomahawk::artist_ptr& artist );
|
Album( unsigned int id, const QString& name, const Tomahawk::artist_ptr& artist );
|
||||||
~Album();
|
virtual ~Album();
|
||||||
|
|
||||||
unsigned int id() const { return m_id; }
|
unsigned int id() const { return m_id; }
|
||||||
QString name() const { return m_name; }
|
QString name() const { return m_name; }
|
||||||
|
@@ -132,7 +132,7 @@ friend class ::DatabaseCommand_CreatePlaylist;
|
|||||||
friend class DynamicPlaylist;
|
friend class DynamicPlaylist;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
~Playlist();
|
virtual ~Playlist();
|
||||||
|
|
||||||
static Tomahawk::playlist_ptr load( const QString& guid );
|
static Tomahawk::playlist_ptr load( const QString& guid );
|
||||||
|
|
||||||
|
@@ -32,6 +32,7 @@ Q_OBJECT
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit AlbumProxyModel( QObject* parent = 0 );
|
explicit AlbumProxyModel( QObject* parent = 0 );
|
||||||
|
virtual ~AlbumProxyModel() {}
|
||||||
|
|
||||||
virtual AlbumModel* sourceModel() const { return m_model; }
|
virtual AlbumModel* sourceModel() const { return m_model; }
|
||||||
virtual void setSourceAlbumModel( AlbumModel* sourceModel );
|
virtual void setSourceAlbumModel( AlbumModel* sourceModel );
|
||||||
|
@@ -29,6 +29,7 @@ Q_OBJECT
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit PlaylistProxyModel( QObject* parent = 0 );
|
explicit PlaylistProxyModel( QObject* parent = 0 );
|
||||||
|
virtual ~PlaylistProxyModel() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PLAYLISTPROXYMODEL_H
|
#endif // PLAYLISTPROXYMODEL_H
|
||||||
|
@@ -31,7 +31,7 @@ Q_OBJECT
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit PlaylistView( QWidget* parent = 0 );
|
explicit PlaylistView( QWidget* parent = 0 );
|
||||||
~PlaylistView();
|
virtual ~PlaylistView();
|
||||||
|
|
||||||
PlaylistModel* playlistModel() const { return m_model; }
|
PlaylistModel* playlistModel() const { return m_model; }
|
||||||
virtual void setPlaylistModel( PlaylistModel* model );
|
virtual void setPlaylistModel( PlaylistModel* model );
|
||||||
|
@@ -32,6 +32,7 @@ Q_OBJECT
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit TrackProxyModel ( QObject* parent = 0 );
|
explicit TrackProxyModel ( QObject* parent = 0 );
|
||||||
|
virtual ~TrackProxyModel() {}
|
||||||
|
|
||||||
virtual TrackModel* sourceModel() const { return m_model; }
|
virtual TrackModel* sourceModel() const { return m_model; }
|
||||||
virtual void setSourceTrackModel( TrackModel* sourceModel );
|
virtual void setSourceTrackModel( TrackModel* sourceModel );
|
||||||
|
@@ -34,6 +34,7 @@ Q_OBJECT
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit TreeProxyModel( QObject* parent = 0 );
|
explicit TreeProxyModel( QObject* parent = 0 );
|
||||||
|
virtual ~TreeProxyModel() {}
|
||||||
|
|
||||||
virtual TreeModel* sourceModel() const { return m_model; }
|
virtual TreeModel* sourceModel() const { return m_model; }
|
||||||
virtual void setSourceTreeModel( TreeModel* sourceModel );
|
virtual void setSourceTreeModel( TreeModel* sourceModel );
|
||||||
|
@@ -36,7 +36,7 @@ Q_OBJECT
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
SourcePlaylistInterface( Tomahawk::source_ptr& source );
|
SourcePlaylistInterface( Tomahawk::source_ptr& source );
|
||||||
~SourcePlaylistInterface();
|
virtual ~SourcePlaylistInterface();
|
||||||
|
|
||||||
QList<Tomahawk::query_ptr> tracks();
|
QList<Tomahawk::query_ptr> tracks();
|
||||||
|
|
||||||
|
@@ -70,7 +70,7 @@ public:
|
|||||||
static ViewManager* instance();
|
static ViewManager* instance();
|
||||||
|
|
||||||
explicit ViewManager( QObject* parent = 0 );
|
explicit ViewManager( QObject* parent = 0 );
|
||||||
~ViewManager();
|
virtual ~ViewManager();
|
||||||
|
|
||||||
QWidget* widget() const { return m_widget; }
|
QWidget* widget() const { return m_widget; }
|
||||||
InfoBar* infobar() const { return m_infobar; }
|
InfoBar* infobar() const { return m_infobar; }
|
||||||
|
@@ -81,7 +81,7 @@ Q_OBJECT
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
WelcomeWidget( QWidget* parent = 0 );
|
WelcomeWidget( QWidget* parent = 0 );
|
||||||
~WelcomeWidget();
|
virtual ~WelcomeWidget();
|
||||||
|
|
||||||
virtual QWidget* widget() { return this; }
|
virtual QWidget* widget() { return this; }
|
||||||
virtual Tomahawk::playlistinterface_ptr playlistInterface() const;
|
virtual Tomahawk::playlistinterface_ptr playlistInterface() const;
|
||||||
|
Reference in New Issue
Block a user