aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlplugindump/data/dumper/Versions/versions_plugin.cpp
blob: 9c1a2d4a4e08d7ee4fcf74b1ceda0094c529efb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include "versions_plugin.h"
#include "versions.h"

#include <qqml.h>

void VersionsPlugin::registerTypes(const char *uri)
{
    // @uri dumper.versions
    qmlRegisterType<Versions>(uri, 1, 0, "Versions");
    qmlRegisterType<Versions, 1>(uri, 1, 1, "Versions");
}