Use override

parent 863a41a2
......@@ -29,7 +29,7 @@ class KPartLoaderWindow : public KParts::MainWindow
Q_OBJECT
public:
KPartLoaderWindow(const QString& partLib);
virtual ~KPartLoaderWindow();
~KPartLoaderWindow() override;
private slots:
void aboutKPart();
......
......@@ -53,7 +53,7 @@ public:
/**
* Default Destructor
*/
virtual ~KUIViewer();
~KUIViewer() override;
/**
* Use this method to load whatever file/URL you have
......
......@@ -53,7 +53,7 @@ public:
/**
* Destructor
*/
virtual ~KUIViewerPart();
~KUIViewerPart() override;
public slots:
void slotStyle(int);
......@@ -64,7 +64,7 @@ protected:
/**
* This must be implemented by each part
*/
virtual bool openFile();
bool openFile() override;
private:
QWidget *m_widget;
......
......@@ -28,8 +28,8 @@ class QUICreator : public ThumbCreator
{
public:
QUICreator() {}
virtual bool create(const QString &path, int, int, QImage &img);
virtual Flags flags() const;
bool create(const QString &path, int, int, QImage &img) override;
Flags flags() const override;
};
#endif // UICREATOR_H
......
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