1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 20:00:13 +02:00

Replace virtuals with respective overrides

This commit is contained in:
Uwe L. Korn
2014-10-27 18:39:05 +01:00
parent 441b17c6dd
commit a5ec7a9036

View File

@@ -31,21 +31,21 @@ class LocalConfigStorage : public ConfigStorage
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit LocalConfigStorage( QObject* parent = 0 ); explicit LocalConfigStorage( QObject* parent = nullptr );
virtual void init(); void init() override;
QString id() const; QString id() const override;
QStringList accountIds() const; QStringList accountIds() const override;
unsigned int priority() const; unsigned int priority() const override;
void deduplicateFrom( const ConfigStorage* other ); void deduplicateFrom( const ConfigStorage* other ) override;
virtual void save( const QString& accountId, const Account::Configuration& cfg ); void save( const QString& accountId, const Account::Configuration& cfg ) override;
virtual void load( const QString& accountId, Account::Configuration& cfg ) const; void load( const QString& accountId, Account::Configuration& cfg ) const override;
virtual void remove( const QString& accountId ); void remove( const QString& accountId ) override;
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
static QString credentialsServiceName(); static QString credentialsServiceName();