Warning, file /frameworks/kservice/autotests/nsaplugin.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 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #include "nsaplugin.h" 0008 #include <KExportPlugin> 0009 #include <QDebug> 0010 0011 NSAPlugin::NSAPlugin(QObject *parent, const QVariantList &args) 0012 : QObject(parent) 0013 , m_pluginInfo(args) 0014 { 0015 // qDebug() << "SUCCESS!" << m_pluginInfo.pluginName() << m_pluginInfo.name() << m_pluginInfo.comment(); 0016 setObjectName(m_pluginInfo.comment()); 0017 } 0018 0019 K_PLUGIN_FACTORY_WITH_JSON(nsaplugin, "fakeplugin.json", registerPlugin<NSAPlugin>();) 0020 0021 #include "nsaplugin.moc"