summaryrefslogtreecommitdiffstats
path: root/tests/manual/qmetatype/declare_metatype_noninline.cpp
blob: dcb34e75acb23a23e3ada44bed43c1f25d48426d (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (C) 2012 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Marc Mutz <marc.mutz@kdab.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include "declare_metatype_noninline.h"

Q_DECLARE_METATYPE(ToBeDeclaredMetaTypeNonInline)

int ToBeDeclaredMetaTypeNonInline::triggerRegistration()
{
    return qMetaTypeId<ToBeDeclaredMetaTypeNonInline>();
}