mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:41:17 -07:00
Consistently use override
This commit is contained in:
@@ -24,7 +24,7 @@ class QtFrameBuffer : public FrameBuffer
|
||||
public:
|
||||
explicit QtFrameBuffer(WId id, QObject *parent = nullptr);
|
||||
|
||||
~QtFrameBuffer();
|
||||
~QtFrameBuffer() override;
|
||||
|
||||
int depth() override;
|
||||
int height() override;
|
||||
|
||||
@@ -33,7 +33,7 @@ class QtFrameBufferPlugin : public FrameBufferPlugin
|
||||
|
||||
public:
|
||||
QtFrameBufferPlugin(QObject *parent, const QVariantList &args);
|
||||
virtual ~QtFrameBufferPlugin();
|
||||
~QtFrameBufferPlugin() override;
|
||||
|
||||
FrameBuffer *frameBuffer(WId id) override;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ public:
|
||||
KrfbXCBEventFilter(XCBFrameBuffer *owner);
|
||||
|
||||
public:
|
||||
virtual bool nativeEventFilter(const QByteArray &eventType, void *message, long *result);
|
||||
bool nativeEventFilter(const QByteArray &eventType, void *message, long *result) override;
|
||||
|
||||
public:
|
||||
int xdamageBaseEvent;
|
||||
|
||||
@@ -23,17 +23,17 @@ class XCBFrameBuffer: public FrameBuffer
|
||||
Q_OBJECT
|
||||
public:
|
||||
XCBFrameBuffer(WId winid, QObject *parent = nullptr);
|
||||
~XCBFrameBuffer();
|
||||
~XCBFrameBuffer() override;
|
||||
|
||||
public:
|
||||
QList<QRect> modifiedTiles() Q_DECL_OVERRIDE;
|
||||
int depth() Q_DECL_OVERRIDE;
|
||||
int height() Q_DECL_OVERRIDE;
|
||||
int width() Q_DECL_OVERRIDE;
|
||||
int paddedWidth() Q_DECL_OVERRIDE;
|
||||
void getServerFormat(rfbPixelFormat &format) Q_DECL_OVERRIDE;
|
||||
void startMonitor() Q_DECL_OVERRIDE;
|
||||
void stopMonitor() Q_DECL_OVERRIDE;
|
||||
QList<QRect> modifiedTiles() override;
|
||||
int depth() override;
|
||||
int height() override;
|
||||
int width() override;
|
||||
int paddedWidth() override;
|
||||
void getServerFormat(rfbPixelFormat &format) override;
|
||||
void startMonitor() override;
|
||||
void stopMonitor() override;
|
||||
|
||||
public:
|
||||
void handleXDamageNotify(xcb_generic_event_t *xevent);
|
||||
|
||||
@@ -33,7 +33,7 @@ class XCBFrameBufferPlugin: public FrameBufferPlugin
|
||||
|
||||
public:
|
||||
XCBFrameBufferPlugin(QObject *parent, const QVariantList &args);
|
||||
virtual ~XCBFrameBufferPlugin();
|
||||
~XCBFrameBufferPlugin() override;
|
||||
|
||||
FrameBuffer *frameBuffer(WId id) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user