| 1 | /* |
|---|---|
| 2 | SPDX-FileCopyrightText: 2007 Kevin Ottens <ervin@kde.org> |
| 3 | |
| 4 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
| 5 | */ |
| 6 | |
| 7 | #include <solid/solidnamespace.h> |
| 8 | |
| 9 | static int registerSolidMetaTypes() |
| 10 | { |
| 11 | qRegisterMetaType<Solid::ErrorType>(); |
| 12 | |
| 13 | return 0; // something |
| 14 | } |
| 15 | |
| 16 | #ifdef Q_CONSTRUCTOR_FUNCTION |
| 17 | Q_CONSTRUCTOR_FUNCTION(registerSolidMetaTypes) |
| 18 | #else |
| 19 | static const int _Solid_registerMetaTypes = registerSolidMetaTypes(); |
| 20 | #endif |
| 21 |
