Warning, file /frameworks/kcoreaddons/autotests/versionedplugin.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2013 Sebastian K├╝gler <sebas@kde.org>
0003     SPDX-FileCopyrightText: 2014 Alex Merry <alexmerry@kde.org>
0004 
0005     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0006 */
0007 
0008 #include "versionedplugin.h"
0009 #include "kcoreaddons_debug.h"
0010 #include <QDebug>
0011 #include <kexportplugin.h>
0012 #include <kpluginfactory.h>
0013 
0014 VersionedPlugin::VersionedPlugin(QObject *parent, const QVariantList &args)
0015     : QObject(parent)
0016 {
0017     qCDebug(KCOREADDONS_DEBUG) << "Created VersionedPlugin with args" << args;
0018 }
0019 
0020 K_PLUGIN_FACTORY(VersionedPluginFactory, registerPlugin<VersionedPlugin>();)
0021 #if KCOREADDONS_BUILD_DEPRECATED_SINCE(5, 84)
0022 K_EXPORT_PLUGIN_VERSION(5)
0023 #endif
0024 
0025 #include "versionedplugin.moc"