diff options
| author | Mark Brand <mabrand@mabrand.nl> | 2015-11-27 17:32:43 +0100 |
|---|---|---|
| committer | Mark Brand <mabrand@mabrand.nl> | 2015-11-30 08:32:51 +0000 |
| commit | d8aac3313c69c3c0b3e248044fab907c1c614a75 (patch) | |
| tree | 83d8d377a72f440c51c13f7390c9eb25f665b220 /src/sql/drivers/db2/qsql_db2.cpp | |
| parent | 51089a5742a79467221b5781cb35a8cea023febf (diff) | |
qsql: add missing Q_DECL_OVERRIDE
Change-Id: Ic562ee9e287f21d73b94f6dc3c4884a2ed33b9fe
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
Diffstat (limited to 'src/sql/drivers/db2/qsql_db2.cpp')
| -rw-r--r-- | src/sql/drivers/db2/qsql_db2.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/sql/drivers/db2/qsql_db2.cpp b/src/sql/drivers/db2/qsql_db2.cpp index 7282d3a6551..48cf41e5625 100644 --- a/src/sql/drivers/db2/qsql_db2.cpp +++ b/src/sql/drivers/db2/qsql_db2.cpp @@ -80,24 +80,24 @@ class QDB2Result: public QSqlResult public: QDB2Result(const QDB2Driver *dr, const QDB2DriverPrivate *dp); ~QDB2Result(); - bool prepare(const QString &query); - bool exec(); - QVariant handle() const; + bool prepare(const QString &query) Q_DECL_OVERRIDE; + bool exec() Q_DECL_OVERRIDE; + QVariant handle() const Q_DECL_OVERRIDE; protected: - QVariant data(int field); - bool reset (const QString &query); - bool fetch(int i); - bool fetchNext(); - bool fetchFirst(); - bool fetchLast(); - bool isNull(int i); - int size(); - int numRowsAffected(); - QSqlRecord record() const; - void virtual_hook(int id, void *data); - void detachFromResultSet(); - bool nextResult(); + QVariant data(int field) Q_DECL_OVERRIDE; + bool reset(const QString &query) Q_DECL_OVERRIDE; + bool fetch(int i) Q_DECL_OVERRIDE; + bool fetchNext() Q_DECL_OVERRIDE; + bool fetchFirst() Q_DECL_OVERRIDE; + bool fetchLast() Q_DECL_OVERRIDE; + bool isNull(int i) Q_DECL_OVERRIDE; + int size() Q_DECL_OVERRIDE; + int numRowsAffected() Q_DECL_OVERRIDE; + QSqlRecord record() const Q_DECL_OVERRIDE; + void virtual_hook(int id, void *data) Q_DECL_OVERRIDE; + void detachFromResultSet() Q_DECL_OVERRIDE; + bool nextResult() Q_DECL_OVERRIDE; private: QDB2ResultPrivate *d; |
