Add override keyword to QPlatformSurface derived classes
Change-Id: I9ce58fb48fd41f4fc340188c1df358d9ef215c3f Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
parent
22998e64d9
commit
a6c4d54eaf
@ -64,13 +64,13 @@ class Q_GUI_EXPORT QPlatformOffscreenSurface : public QPlatformSurface
|
||||
Q_DECLARE_PRIVATE(QPlatformOffscreenSurface)
|
||||
public:
|
||||
explicit QPlatformOffscreenSurface(QOffscreenSurface *offscreenSurface);
|
||||
virtual ~QPlatformOffscreenSurface();
|
||||
~QPlatformOffscreenSurface() override;
|
||||
|
||||
QOffscreenSurface *offscreenSurface() const;
|
||||
|
||||
QPlatformScreen *screen() const;
|
||||
|
||||
virtual QSurfaceFormat format() const Q_DECL_OVERRIDE;
|
||||
virtual QSurfaceFormat format() const override;
|
||||
virtual bool isValid() const;
|
||||
|
||||
protected:
|
||||
|
@ -72,7 +72,7 @@ class Q_GUI_EXPORT QPlatformWindow : public QPlatformSurface
|
||||
Q_DECLARE_PRIVATE(QPlatformWindow)
|
||||
public:
|
||||
explicit QPlatformWindow(QWindow *window);
|
||||
virtual ~QPlatformWindow();
|
||||
~QPlatformWindow() override;
|
||||
|
||||
virtual void initialize();
|
||||
|
||||
@ -81,7 +81,7 @@ public:
|
||||
|
||||
QPlatformScreen *screen() const;
|
||||
|
||||
virtual QSurfaceFormat format() const Q_DECL_OVERRIDE;
|
||||
virtual QSurfaceFormat format() const override;
|
||||
|
||||
virtual void setGeometry(const QRect &rect);
|
||||
virtual QRect geometry() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user