Commit 08a8fc99 authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_DECL_OVERRIDE

parent 7a9ca372
......@@ -32,25 +32,25 @@ public:
virtual ~CVSDiffParser();
protected:
virtual enum Kompare::Format determineFormat();
enum Kompare::Format determineFormat() Q_DECL_OVERRIDE;
protected:
// virtual bool parseContextDiffHeader();
virtual bool parseEdDiffHeader();
virtual bool parseNormalDiffHeader();
virtual bool parseRCSDiffHeader();
bool parseEdDiffHeader() Q_DECL_OVERRIDE;
bool parseNormalDiffHeader() Q_DECL_OVERRIDE;
bool parseRCSDiffHeader() Q_DECL_OVERRIDE;
// virtual bool parseUnifiedDiffHeader();
// virtual bool parseContextHunkHeader();
virtual bool parseEdHunkHeader();
bool parseEdHunkHeader() Q_DECL_OVERRIDE;
// virtual bool parseNormalHunkHeader();
virtual bool parseRCSHunkHeader();
bool parseRCSHunkHeader() Q_DECL_OVERRIDE;
// virtual bool parseUnifiedHunkHeader();
// virtual bool parseContextHunkBody();
virtual bool parseEdHunkBody();
bool parseEdHunkBody() Q_DECL_OVERRIDE;
// virtual bool parseNormalHunkBody();
virtual bool parseRCSHunkBody();
bool parseRCSHunkBody() Q_DECL_OVERRIDE;
// virtual bool parseUnifiedHunkBody();
};
......
......@@ -28,7 +28,7 @@ public:
virtual ~DiffParser();
protected:
virtual enum Kompare::Format determineFormat();
enum Kompare::Format determineFormat() Q_DECL_OVERRIDE;
};
} // End of namespace Diff2
......
......@@ -33,8 +33,8 @@ public:
virtual ~DiffSettings();
public:
// some virtual functions that will be overloaded from the base class
virtual void loadSettings( KConfig* config );
virtual void saveSettings( KConfig* config );
void loadSettings( KConfig* config ) Q_DECL_OVERRIDE;
void saveSettings( KConfig* config ) Q_DECL_OVERRIDE;
public:
QString m_diffProgram;
......
......@@ -28,13 +28,13 @@ public:
virtual ~PerforceParser();
protected:
virtual bool parseContextDiffHeader();
virtual bool parseNormalDiffHeader();
virtual bool parseRCSDiffHeader();
virtual bool parseUnifiedDiffHeader();
bool parseContextDiffHeader() Q_DECL_OVERRIDE;
bool parseNormalDiffHeader() Q_DECL_OVERRIDE;
bool parseRCSDiffHeader() Q_DECL_OVERRIDE;
bool parseUnifiedDiffHeader() Q_DECL_OVERRIDE;
protected:
virtual enum Kompare::Format determineFormat();
enum Kompare::Format determineFormat() Q_DECL_OVERRIDE;
};
} // End of namespace Diff2
......
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