From 84e95ac58cd559fdb1f8d60be4759621ccd2e8b2 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 22 Mar 2024 10:57:44 +0200 Subject: [PATCH] kdecore: remove unused test plugin Signed-off-by: Ivailo Monev --- kdecore/tests/CMakeLists.txt | 8 ----- kdecore/tests/klibloadertest4_module.cpp | 37 ------------------------ kdecore/tests/klibloadertest4_module.h | 31 -------------------- 3 files changed, 76 deletions(-) delete mode 100644 kdecore/tests/klibloadertest4_module.cpp delete mode 100644 kdecore/tests/klibloadertest4_module.h diff --git a/kdecore/tests/CMakeLists.txt b/kdecore/tests/CMakeLists.txt index 969b4e57..4764d000 100644 --- a/kdecore/tests/CMakeLists.txt +++ b/kdecore/tests/CMakeLists.txt @@ -86,14 +86,6 @@ set(kmimeglobsfileparsertest_SRCS kmimeglobsfileparsertest.cpp ../services/kmime kde4_add_test(kdecore-kmimeglobsfileparsertest ${kmimeglobsfileparsertest_SRCS}) target_link_libraries(kdecore-kmimeglobsfileparsertest ${QT_QTTEST_LIBRARY} kdecore) -########### module for klibloadertest4 ############### - -set(klibloadertestmodule4_PART_SRCS klibloadertest4_module.cpp) - -kde4_add_plugin(kdecore-klibloadertestmodule4 ${klibloadertestmodule4_PART_SRCS}) - -target_link_libraries(kdecore-klibloadertestmodule4 ${QT_QTTEST_LIBRARY} kdecore) - ########### kcompositejobtest ############### set(kcompositejobtest_SRCS kcompositejobtest.cpp) diff --git a/kdecore/tests/klibloadertest4_module.cpp b/kdecore/tests/klibloadertest4_module.cpp deleted file mode 100644 index 47f8aa1b..00000000 --- a/kdecore/tests/klibloadertest4_module.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 2005 David Faure - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "klibloadertest4_module.h" - -#include // K_PLUGIN_FACTORY - -K_PLUGIN_FACTORY(KLibLoaderTestFactory, - registerPlugin(); - ) -K_EXPORT_PLUGIN(KLibLoaderTestFactory("klibloader4testfactory")) - -KLibLoaderTestObject::KLibLoaderTestObject( QObject* parent, const QList& ) - : QObject( parent ) -{ - qDebug( "KLibLoaderTestObject created with KPluginFactory" ); -} - -KLibLoaderTestObject::~KLibLoaderTestObject() -{ - qDebug( "KLibLoaderTestObject created with KPluginFactory, now deleted" ); -} diff --git a/kdecore/tests/klibloadertest4_module.h b/kdecore/tests/klibloadertest4_module.h deleted file mode 100644 index 6558df0d..00000000 --- a/kdecore/tests/klibloadertest4_module.h +++ /dev/null @@ -1,31 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 2005 David Faure - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KLIBLOADERTEST4_MODULE_H -#define KLIBLOADERTEST4_MODULE_H - -#include -class KLibLoaderTestObject : public QObject -{ - Q_OBJECT -public: - KLibLoaderTestObject( QObject* parent, const QList& ); - ~KLibLoaderTestObject(); -}; - -#endif //KLIBLOADERTEST4_MODULE_H