mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-05-03 14:48:05 +02:00
Replace virtual with appropriate Q_DECL_OVERRIDE qualifiers
This commit is contained in:
parent
803db06398
commit
f147ab8ba7
@ -48,12 +48,12 @@ public:
|
|||||||
explicit DatabaseCommand_AllArtists( const Tomahawk::collection_ptr& collection = Tomahawk::collection_ptr(), QObject* parent = 0 );
|
explicit DatabaseCommand_AllArtists( const Tomahawk::collection_ptr& collection = Tomahawk::collection_ptr(), QObject* parent = 0 );
|
||||||
virtual ~DatabaseCommand_AllArtists();
|
virtual ~DatabaseCommand_AllArtists();
|
||||||
|
|
||||||
virtual void exec( DatabaseImpl* );
|
void exec( DatabaseImpl* ) Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
virtual bool doesMutates() const { return false; }
|
bool doesMutates() const Q_DECL_OVERRIDE { return false; }
|
||||||
virtual QString commandname() const { return "allartists"; }
|
QString commandname() const Q_DECL_OVERRIDE { return "allartists"; }
|
||||||
|
|
||||||
virtual void enqueue() { Database::instance()->enqueue( Tomahawk::dbcmd_ptr( this ) ); }
|
void enqueue() Q_DECL_OVERRIDE { Database::instance()->enqueue( Tomahawk::dbcmd_ptr( this ) ); }
|
||||||
|
|
||||||
void setLimit( unsigned int amount ) { m_amount = amount; }
|
void setLimit( unsigned int amount ) { m_amount = amount; }
|
||||||
void setSortOrder( DatabaseCommand_AllArtists::SortOrder order ) { m_sortOrder = order; }
|
void setSortOrder( DatabaseCommand_AllArtists::SortOrder order ) { m_sortOrder = order; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user