diff options
author | Louis-Bertrand Varin <louisbvarin@gmail.com> | 2018-03-31 23:01:30 +0300 |
---|---|---|
committer | Louis-Bertrand Varin <louisbvarin@gmail.com> | 2018-03-31 23:01:30 +0300 |
commit | 8324d03f0a015e62b6182843b4478226a5197090 (patch) | |
tree | faf34febaec7c7e764d357dc5e439f6f2b1fcaf3 /tests/TestKeePass2Format.h | |
parent | 74efc57369b068a0f93cb84ac68b6c17f64c8abe (diff) |
Formatting the code.
Diffstat (limited to 'tests/TestKeePass2Format.h')
-rw-r--r-- | tests/TestKeePass2Format.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/tests/TestKeePass2Format.h b/tests/TestKeePass2Format.h index 13426cb9c..d29fa2c13 100644 --- a/tests/TestKeePass2Format.h +++ b/tests/TestKeePass2Format.h @@ -18,9 +18,9 @@ #ifndef KEEPASSXC_TESTKEEPASS2FORMAT_H #define KEEPASSXC_TESTKEEPASS2FORMAT_H +#include <QBuffer> #include <QDateTime> #include <QObject> -#include <QBuffer> #include <QScopedPointer> #include "core/Database.h" @@ -30,7 +30,7 @@ */ class TestKeePass2Format : public QObject { -Q_OBJECT + Q_OBJECT private slots: void initTestCase(); @@ -71,10 +71,16 @@ protected: virtual Database* readXml(const QString& path, bool strictMode, bool& hasError, QString& errorString) = 0; virtual void writeXml(QBuffer* buf, Database* db, bool& hasError, QString& errorString) = 0; - virtual void readKdbx(QIODevice* device, CompositeKey const& key, QScopedPointer<Database>& db, - bool& hasError, QString& errorString) = 0; - virtual void readKdbx(const QString& path, CompositeKey const& key, QScopedPointer<Database>& db, - bool& hasError, QString& errorString) = 0; + virtual void readKdbx(QIODevice* device, + CompositeKey const& key, + QScopedPointer<Database>& db, + bool& hasError, + QString& errorString) = 0; + virtual void readKdbx(const QString& path, + CompositeKey const& key, + QScopedPointer<Database>& db, + bool& hasError, + QString& errorString) = 0; virtual void writeKdbx(QIODevice* device, Database* db, bool& hasError, QString& errorString) = 0; QScopedPointer<Database> m_xmlDb; |