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
|
namespace Plasma
|
||||||
{
|
{
|
||||||
|
|
||||||
Animator::Animator(QObject *parent, const QStringList& list)
|
Animator::Animator(QObject *parent)
|
||||||
: QObject(parent),
|
: QObject(parent),
|
||||||
d(0)
|
d(0)
|
||||||
{
|
{
|
||||||
Q_UNUSED(list)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Animator::~Animator()
|
Animator::~Animator()
|
||||||
|
@ -39,7 +39,7 @@ class PLASMA_EXPORT Animator : public QObject
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Animator(QObject *parent = 0, const QStringList& list = QStringList());
|
explicit Animator(QObject *parent = 0);
|
||||||
~Animator();
|
~Animator();
|
||||||
|
|
||||||
// Parameter definitions
|
// Parameter definitions
|
||||||
@ -75,8 +75,7 @@ private:
|
|||||||
} // Plasma namespace
|
} // Plasma namespace
|
||||||
|
|
||||||
#define K_EXPORT_PLASMA_ANIMATOR(libname, classname) \
|
#define K_EXPORT_PLASMA_ANIMATOR(libname, classname) \
|
||||||
K_EXPORT_COMPONENT_FACTORY( \
|
K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
|
||||||
plasma_animator_##libname, \
|
K_EXPORT_PLUGIN(factory("plasma_animator_" #libname))
|
||||||
KGenericFactory<classname>("plasma_animator_" #libname))
|
|
||||||
|
|
||||||
#endif // multiple inclusion guard
|
#endif // multiple inclusion guard
|
||||||
|
Loading…
Reference in New Issue
Block a user