Commit c258e8bf authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_DECL_OVERRIDE

parent 16b02a41
......@@ -36,9 +36,9 @@ class CDDBModule : public KCModule
public Q_SLOTS:
void defaults();
void save();
void load();
void defaults() Q_DECL_OVERRIDE;
void save() Q_DECL_OVERRIDE;
void load() Q_DECL_OVERRIDE;
protected:
......
......@@ -49,7 +49,7 @@ namespace KCDDB
virtual ~AsyncCDDBPLookup();
Result lookup( const QString &, uint, const TrackOffsetList & );
Result lookup( const QString &, uint, const TrackOffsetList & ) Q_DECL_OVERRIDE;
Q_SIGNALS:
......
......@@ -37,7 +37,7 @@ namespace KCDDB
AsyncHTTPLookup();
virtual ~AsyncHTTPLookup();
Result lookup( const QString &, uint, const TrackOffsetList & );
Result lookup( const QString &, uint, const TrackOffsetList & ) Q_DECL_OVERRIDE;
CDInfoList lookupResponse() const;
......@@ -53,7 +53,7 @@ namespace KCDDB
void slotResult( KJob * );
protected:
virtual Result fetchURL();
Result fetchURL() Q_DECL_OVERRIDE;
Result runQuery();
};
......
......@@ -35,7 +35,7 @@ namespace KCDDB
Q_SIGNALS:
void finished( KCDDB::Result );
protected:
virtual Result runJob(KIO::Job* job);
Result runJob(KIO::Job* job) Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotFinished(KJob*);
} ;
......
......@@ -43,7 +43,7 @@ namespace KCDDB
protected Q_SLOTS:
void slotDone( KJob * );
protected:
virtual Result runJob(KIO::Job* job);
Result runJob(KIO::Job* job) Q_DECL_OVERRIDE;
} ;
}
......
......@@ -31,7 +31,7 @@ namespace KCDDB
virtual ~HTTPSubmit();
protected:
virtual KIO::Job* createJob(const CDInfo& cdInfo);
KIO::Job* createJob(const CDInfo& cdInfo) Q_DECL_OVERRIDE;
QUrl url_;
QString from_;
......
......@@ -31,9 +31,9 @@ namespace KCDDB
virtual ~SMTPSubmit();
protected:
virtual void makeDiskData( const CDInfo&, const TrackOffsetList& );
void makeDiskData( const CDInfo&, const TrackOffsetList& ) Q_DECL_OVERRIDE;
virtual KIO::Job* createJob(const CDInfo& cdInfo);
KIO::Job* createJob(const CDInfo& cdInfo) Q_DECL_OVERRIDE;
QUrl url_;
QString from_, to_;
......
......@@ -33,7 +33,7 @@ namespace KCDDB
SyncCDDBPLookup();
virtual ~SyncCDDBPLookup();
Result lookup( const QString &, uint, const TrackOffsetList & );
Result lookup( const QString &, uint, const TrackOffsetList & ) Q_DECL_OVERRIDE;
CDInfoList lookupResponse() const;
......
......@@ -32,13 +32,13 @@ namespace KCDDB
SyncHTTPLookup();
virtual ~SyncHTTPLookup();
Result lookup( const QString &, uint, const TrackOffsetList & );
Result lookup( const QString &, uint, const TrackOffsetList & ) Q_DECL_OVERRIDE;
CDInfoList lookupResponse() const;
protected:
virtual Result fetchURL();
Result fetchURL() Q_DECL_OVERRIDE;
Result runQuery();
Result matchToCDInfo( const CDDBMatch & );
......
......@@ -30,7 +30,7 @@ namespace KCDDB
virtual ~SyncHTTPSubmit();
protected:
virtual Result runJob(KIO::Job* job);
Result runJob(KIO::Job* job) Q_DECL_OVERRIDE;
} ;
}
......
......@@ -30,7 +30,7 @@ namespace KCDDB
const QString& from, const QString& to);
virtual ~SyncSMTPSubmit();
protected:
virtual Result runJob(KIO::Job* job);
Result runJob(KIO::Job* job) Q_DECL_OVERRIDE;
} ;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment