mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-25 15:55:38 -04:00
Mark overriden methods as Q_DECL_OVERRIDE.
This commit is contained in:
parent
4e6cf15a09
commit
e144f7c85a
17 changed files with 58 additions and 54 deletions
|
@ -35,8 +35,8 @@ public:
|
|||
void close();
|
||||
|
||||
protected:
|
||||
qint64 readData(char* data, qint64 maxSize);
|
||||
qint64 writeData(const char* data, qint64 maxSize);
|
||||
qint64 readData(char* data, qint64 maxSize) Q_DECL_OVERRIDE;
|
||||
qint64 writeData(const char* data, qint64 maxSize) Q_DECL_OVERRIDE;
|
||||
|
||||
private:
|
||||
void init();
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
#include <QtCore/QIODevice>
|
||||
|
||||
#include "core/Global.h"
|
||||
|
||||
class LayeredStream : public QIODevice
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -28,13 +30,13 @@ public:
|
|||
explicit LayeredStream(QIODevice* baseDevice);
|
||||
virtual ~LayeredStream();
|
||||
|
||||
bool isSequential() const;
|
||||
bool isSequential() const Q_DECL_OVERRIDE;
|
||||
virtual QString errorString() const;
|
||||
bool open(QIODevice::OpenMode mode);
|
||||
bool open(QIODevice::OpenMode mode) Q_DECL_OVERRIDE;
|
||||
|
||||
protected:
|
||||
qint64 readData(char* data, qint64 maxSize);
|
||||
qint64 writeData(const char* data, qint64 maxSize);
|
||||
qint64 readData(char* data, qint64 maxSize) Q_DECL_OVERRIDE;
|
||||
qint64 writeData(const char* data, qint64 maxSize) Q_DECL_OVERRIDE;
|
||||
|
||||
QIODevice* const m_baseDevice;
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@ public:
|
|||
void close();
|
||||
|
||||
protected:
|
||||
qint64 readData(char* data, qint64 maxSize);
|
||||
qint64 writeData(const char* data, qint64 maxSize);
|
||||
qint64 readData(char* data, qint64 maxSize) Q_DECL_OVERRIDE;
|
||||
qint64 writeData(const char* data, qint64 maxSize) Q_DECL_OVERRIDE;
|
||||
|
||||
private:
|
||||
bool readBlock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue