File indexing completed on 2024-04-28 04:00:48

0001 /*
0002     SPDX-FileCopyrightText: 2007 Kevin Ottens <ervin@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 #include <solid/solidnamespace.h>
0008 
0009 static int registerSolidMetaTypes()
0010 {
0011     qRegisterMetaType<Solid::ErrorType>();
0012 
0013     return 0; // something
0014 }
0015 
0016 #ifdef Q_CONSTRUCTOR_FUNCTION
0017 Q_CONSTRUCTOR_FUNCTION(registerSolidMetaTypes)
0018 #else
0019 static const int _Solid_registerMetaTypes = registerSolidMetaTypes();
0020 #endif