Silence some unused parameter warnings
[kworship.git] / kworship / filters / zionworx / KwZionworxPlugin.cpp
blob2f51060df304480804e72db28399e0ab1e67e742
1 /***************************************************************************
2 * This file is part of KWorship. *
3 * Copyright 2008 James Hogan <james@albanarts.com> *
4 * *
5 * KWorship is free software: you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation, either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * KWorship is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with KWorship. If not, write to the Free Software Foundation, *
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
18 ***************************************************************************/
20 /**
21 * @file KwZionworxPlugin.cpp
22 * @brief Zionworx filters plugin.
23 * @author James Hogan <james@albanarts.com>
26 #include "KwZionworxPlugin.h"
27 #include "KwZionworxFilter.h"
29 #include <KwApplication.h>
30 #include <kworship.h>
31 #include <KwDocument.h>
32 #include <KwFilterManager.h>
34 #include <KLocale>
35 #include <KGenericFactory>
37 K_EXPORT_COMPONENT_FACTORY( kworship_zionworx, KGenericFactory<KwZionworxPlugin>("kworship_zionworx") )
40 * Constructors + destructor
43 /// Default constructor.
44 KwZionworxPlugin::KwZionworxPlugin(QObject* parent, const QStringList& params)
45 : KwPlugin(parent, "zionworx",
46 i18n("Zionworx filters"),
47 i18n("The Zionworx filters allow Zionworx playlists to be loaded and saved."))
49 Q_UNUSED(params);
52 /// Destructor.
53 KwZionworxPlugin::~KwZionworxPlugin()
58 * Loading and unloading virtual interface
61 void KwZionworxPlugin::_load()
63 KwZionworxFilter* filter = new KwZionworxFilter();
64 KwApplication::self()->filterManager()->addLoadSaveFilter(filter);
67 void KwZionworxPlugin::_unload()