File indexing completed on 2024-04-21 14:55:14

0001 /* This file is part of the KDE libraries
0002     Copyright (c) 2005 David Faure <faure@kde.org>
0003 
0004     This library is free software; you can redistribute it and/or
0005     modify it under the terms of the GNU Library General Public
0006     License version 2 as published by the Free Software Foundation.
0007 
0008     This library is distributed in the hope that it will be useful,
0009     but WITHOUT ANY WARRANTY; without even the implied warranty of
0010     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0011     Library General Public License for more details.
0012 
0013     You should have received a copy of the GNU Library General Public License
0014     along with this library; see the file COPYING.LIB.  If not, write to
0015     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0016     Boston, MA 02110-1301, USA.
0017 */
0018 
0019 #include "klibloadertest5_module.h"
0020 
0021 #include <kpluginfactory.h> // K_PLUGIN_FACTORY
0022 
0023 K_PLUGIN_FACTORY(KLibLoaderTestFactory,
0024                  registerPlugin<KLibLoaderTestObject>();
0025                 )
0026 
0027 KLibLoaderTestObject::KLibLoaderTestObject(QObject *parent, const QList<QVariant> &)
0028     : QObject(parent)
0029 {
0030     qDebug("KLibLoaderTestObject created with KPluginFactory");
0031 }
0032 
0033 KLibLoaderTestObject::~KLibLoaderTestObject()
0034 {
0035     qDebug("KLibLoaderTestObject created with KPluginFactory, now deleted");
0036 }
0037 
0038 #include "klibloadertest5_module.moc"
0039 #include "moc_klibloadertest5_module.cpp"