From b05981a8fdf8e828513e1c51621108c41085cd54 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 5 Jan 2017 22:17:35 +0000 Subject: Bindings: Add some content to the test source Increase test coverage regarding transformations. --- tests/GenerateSipBindings/cpplib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/GenerateSipBindings/cpplib.h') diff --git a/tests/GenerateSipBindings/cpplib.h b/tests/GenerateSipBindings/cpplib.h index 932b3b67..6ec3f575 100644 --- a/tests/GenerateSipBindings/cpplib.h +++ b/tests/GenerateSipBindings/cpplib.h @@ -47,6 +47,8 @@ public: int fwdDecl(const FwdDecl& f); int fwdDeclRef(FwdDecl& f); + mode_t dummyFunc(QObject* parent) { return 0; } + signals: void publicSlotCalled(); @@ -93,6 +95,8 @@ private: Q_DISABLE_COPY(NonCopyableByMacro) }; +Q_DECLARE_METATYPE(NonCopyableByMacro*) + class HasPrivateDefaultCtor { public: -- cgit v1.2.1