summaryrefslogtreecommitdiffstats
path: root/tests/manual/hierarchy/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/hierarchy/main.cpp')
-rw-r--r--tests/manual/hierarchy/main.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/manual/hierarchy/main.cpp b/tests/manual/hierarchy/main.cpp
new file mode 100644
index 0000000..5ebe6e8
--- /dev/null
+++ b/tests/manual/hierarchy/main.cpp
@@ -0,0 +1,12 @@
+// Copyright (C) 2015 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+//! [0]
+#include "objects.h"
+#include <QAxFactory>
+
+QAXFACTORY_BEGIN("{9e626211-be62-4d18-9483-9419358fbb03}", "{75c276de-1df5-451f-a004-e4fa1a587df1}")
+ QAXCLASS(QParentWidget)
+ QAXTYPE(QSubWidget)
+QAXFACTORY_END()
+//! [0]