aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmltypeloader/SlowImport/plugin.cpp
blob: b1726f190f7e13b15d2412c2a3ed22024a7a3eb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2016 Canonical Limited and/or its subsidiary(-ies).
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include "plugin.h"

#include "slow.h"
#include <qqml.h>

void SlowPlugin::registerTypes(const char *uri)
{
    Q_ASSERT(uri == QLatin1String("Slow"));
    qmlRegisterType<SlowStuff>(uri, 1, 0, "SlowStuff");
}