move animator to the new plugin system

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705975
This commit is contained in:
Aaron J. Seigo 2007-08-29 02:45:20 +00:00
parent 559647f5cc
commit 904c1b13f8
2 changed files with 4 additions and 6 deletions

View File

@ -25,11 +25,10 @@
namespace Plasma
{
Animator::Animator(QObject *parent, const QStringList& list)
Animator::Animator(QObject *parent)
: QObject(parent),
d(0)
{
Q_UNUSED(list)
}
Animator::~Animator()

View File

@ -39,7 +39,7 @@ class PLASMA_EXPORT Animator : public QObject
Q_OBJECT
public:
explicit Animator(QObject *parent = 0, const QStringList& list = QStringList());
explicit Animator(QObject *parent = 0);
~Animator();
// Parameter definitions
@ -75,8 +75,7 @@ private:
} // Plasma namespace
#define K_EXPORT_PLASMA_ANIMATOR(libname, classname) \
K_EXPORT_COMPONENT_FACTORY( \
plasma_animator_##libname, \
KGenericFactory<classname>("plasma_animator_" #libname))
K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
K_EXPORT_PLUGIN(factory("plasma_animator_" #libname))
#endif // multiple inclusion guard