Changeset View
Changeset View
Standalone View
Standalone View
autotests/KDbTestUtils.h
Show All 22 Lines | |||||
23 | #include "kdbtestutils_export.h" | 23 | #include "kdbtestutils_export.h" | ||
24 | 24 | | |||
25 | #include <QPointer> | 25 | #include <QPointer> | ||
26 | #include <QTest> | 26 | #include <QTest> | ||
27 | #include <KDbDriver> | 27 | #include <KDbDriver> | ||
28 | #include <KDbDriverManager> | 28 | #include <KDbDriverManager> | ||
29 | #include <KDbConnection> | 29 | #include <KDbConnection> | ||
30 | 30 | | |||
31 | Q_DECLARE_METATYPE(KDbField::TypeGroup) | ||||
32 | Q_DECLARE_METATYPE(KDbField::Type) | ||||
33 | Q_DECLARE_METATYPE(KDb::Signedness) | ||||
34 | Q_DECLARE_METATYPE(QList<KDbField::Type>) | ||||
35 | Q_DECLARE_METATYPE(KDb::BLOBEscapingType) | ||||
36 | | ||||
31 | //! @internal for KDB_VERIFY | 37 | //! @internal for KDB_VERIFY | ||
32 | template<typename T> | 38 | template<typename T> | ||
33 | const T* KDB_POINTER_WRAPPER(const T &t) { return &t; } | 39 | const T* KDB_POINTER_WRAPPER(const T &t) { return &t; } | ||
34 | 40 | | |||
35 | //! @internal for KDB_VERIFY | 41 | //! @internal for KDB_VERIFY | ||
36 | template<typename T> | 42 | template<typename T> | ||
37 | const T* KDB_POINTER_WRAPPER(const T *t) { return t; } | 43 | const T* KDB_POINTER_WRAPPER(const T *t) { return t; } | ||
38 | 44 | | |||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |