Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Use more override

parent b9b0bb1a
......@@ -125,7 +125,7 @@ public:
class KDSCOkErrorHandler : public KDSCErrorHandler
{
Response error( const KDSCError& );
Response error( const KDSCError& ) override;
};
class KDSCCommentHandler
......@@ -335,7 +335,7 @@ public:
_commentHandler( commentHandler )
{}
virtual bool scanData( char* buf, unsigned int count );
bool scanData( char* buf, unsigned int count ) override;
protected:
KDSCCommentHandler* _commentHandler;
......
......@@ -27,9 +27,9 @@ class GSCreator : public ThumbCreator, public KDSCCommentHandler
{
public:
GSCreator() {}
virtual bool create(const QString &path, int, int, QImage &img);
virtual Flags flags() const;
void comment(Name name);
bool create(const QString &path, int, int, QImage &img) override;
Flags flags() const override;
void comment(Name name) override;
private:
static bool getEPSIPreview(const QString &path,
......
......@@ -26,9 +26,9 @@ class RAWCreator : public ThumbCreator
{
public:
RAWCreator();
virtual ~RAWCreator();
virtual bool create(const QString &path, int width, int height, QImage &img);
virtual Flags flags() const;
~RAWCreator() override;
bool create(const QString &path, int width, int height, QImage &img) override;
Flags flags() const override;
};
#endif
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