mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 14:46:33 +02:00
C++11ify
This commit is contained in:
@@ -37,21 +37,21 @@ class DLLEXPORT DatabaseCommand_ShareTrack : public DatabaseCommand_SocialAction
|
|||||||
Q_PROPERTY( QString recipient READ recipient WRITE setRecipient )
|
Q_PROPERTY( QString recipient READ recipient WRITE setRecipient )
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit DatabaseCommand_ShareTrack( QObject* parent = 0 );
|
explicit DatabaseCommand_ShareTrack( QObject* parent = nullptr );
|
||||||
|
|
||||||
explicit DatabaseCommand_ShareTrack( const Tomahawk::trackdata_ptr& track,
|
explicit DatabaseCommand_ShareTrack( const Tomahawk::trackdata_ptr& track,
|
||||||
const QString& recipientDbid,
|
const QString& recipientDbid,
|
||||||
QObject* parent = 0 );
|
QObject* parent = nullptr );
|
||||||
|
|
||||||
QString commandname() const Q_DECL_OVERRIDE;
|
QString commandname() const override;
|
||||||
|
|
||||||
void exec( DatabaseImpl* ) Q_DECL_OVERRIDE;
|
void exec( DatabaseImpl* ) override;
|
||||||
void postCommitHook() Q_DECL_OVERRIDE;
|
void postCommitHook() override;
|
||||||
|
|
||||||
bool doesMutates() const Q_DECL_OVERRIDE;
|
bool doesMutates() const override;
|
||||||
bool singletonCmd() const Q_DECL_OVERRIDE;
|
bool singletonCmd() const override;
|
||||||
bool localOnly() const Q_DECL_OVERRIDE;
|
bool localOnly() const override;
|
||||||
bool groupable() const Q_DECL_OVERRIDE;
|
bool groupable() const override;
|
||||||
|
|
||||||
QString recipient() const;
|
QString recipient() const;
|
||||||
void setRecipient( const QString& s );
|
void setRecipient( const QString& s );
|
||||||
|
Reference in New Issue
Block a user