mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 09:04:33 +02:00
Use override instead of virtual
This commit is contained in:
@@ -87,7 +87,7 @@ public:
|
|||||||
* \brief Returns the name of this database command.
|
* \brief Returns the name of this database command.
|
||||||
* \return QString containing the database command name 'socialaction'.
|
* \return QString containing the database command name 'socialaction'.
|
||||||
*/
|
*/
|
||||||
virtual QString commandname() const { return "socialaction"; }
|
QString commandname() const Q_DECL_OVERRIDE { return "socialaction"; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Executes the database command.
|
* \brief Executes the database command.
|
||||||
@@ -96,12 +96,12 @@ public:
|
|||||||
* This method prepares an sql query to write this social action
|
* This method prepares an sql query to write this social action
|
||||||
* into the local database.
|
* into the local database.
|
||||||
*/
|
*/
|
||||||
virtual void exec( DatabaseImpl* dbi );
|
void exec( DatabaseImpl* dbi ) Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Triggers a Database Sync.
|
* \brief Triggers a Database Sync.
|
||||||
*/
|
*/
|
||||||
virtual void postCommitHook();
|
void postCommitHook() Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Returns the artist associated with this database command.
|
* \brief Returns the artist associated with this database command.
|
||||||
@@ -173,8 +173,8 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual void setTimestamp( const int ts ) { m_timestamp = ts; }
|
virtual void setTimestamp( const int ts ) { m_timestamp = ts; }
|
||||||
|
|
||||||
virtual bool doesMutates() const { return true; }
|
bool doesMutates() const Q_DECL_OVERRIDE { return true; }
|
||||||
virtual bool groupable() const { return true; }
|
bool groupable() const Q_DECL_OVERRIDE { return true; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Tomahawk::trackdata_ptr m_track;
|
Tomahawk::trackdata_ptr m_track;
|
||||||
|
Reference in New Issue
Block a user