move animator to the new plugin system
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705975
This commit is contained in:
parent
559647f5cc
commit
904c1b13f8
@ -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()
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user