1
0
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:
Jeff Mitchell 2011-12-10 02:46:03 -05:00
parent ce13d7fed5
commit 2a96048b7c
10 changed files with 10 additions and 6 deletions

View File

@ -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; }

View File

@ -132,7 +132,7 @@ friend class ::DatabaseCommand_CreatePlaylist;
friend class DynamicPlaylist;
public:
~Playlist();
virtual ~Playlist();
static Tomahawk::playlist_ptr load( const QString& guid );

View File

@ -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 );

View File

@ -29,6 +29,7 @@ Q_OBJECT
public:
explicit PlaylistProxyModel( QObject* parent = 0 );
virtual ~PlaylistProxyModel() {}
};
#endif // PLAYLISTPROXYMODEL_H

View File

@ -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 );

View File

@ -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 );

View File

@ -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 );

View File

@ -36,7 +36,7 @@ Q_OBJECT
public:
SourcePlaylistInterface( Tomahawk::source_ptr& source );
~SourcePlaylistInterface();
virtual ~SourcePlaylistInterface();
QList<Tomahawk::query_ptr> tracks();

View File

@ -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; }

View File

@ -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;