aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlengine/declarativelyregistered.h
blob: edb783e3aaf97c5f1e63365dc5fbb00a4f53b8e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef DECLARATIVELYREGISTERED_H
#define DECLARATIVELYREGISTERED_H

#include <QtCore/qobject.h>
#include <QtQml/qqmlregistration.h>

class PurelyDeclarativeSingleton : public QObject
{
    Q_OBJECT
    QML_SINGLETON
    QML_ELEMENT
public:
    PurelyDeclarativeSingleton(QObject *parent = nullptr);
};


#endif