aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlvaluetypes/testtypes.cpp
blob: d6304bf08690fcbb8b1deb2683890744ac9e976c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include "testtypes.h"

void registerTypes()
{
    qmlRegisterType<MyTypeObject>("Test", 1, 0, "MyTypeObject");
    qmlRegisterType<MyConstantValueSource>("Test", 1, 0, "MyConstantValueSource");
    qmlRegisterType<MyOffsetValueInterceptor>("Test", 1, 0, "MyOffsetValueInterceptor");
    qmlRegisterType<MyColorObject>("Test", 1, 0, "MyColorObject");
    qmlRegisterType<MyColorInterceptor>("Test", 1, 0, "MyColorInterceptor");
    qmlRegisterType<MyFloatSetInterceptor>("Test", 1, 0, "MyFloatSetInterceptor");
    qmlRegisterType<MyFloatIgnoreInterceptor>("Test", 1, 0, "MyFloatIgnoreInterceptor");
}