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