Fix compilation

svn path=/trunk/KDE/kdebase/workspace/; revision=714831
This commit is contained in:
Rivo Laks 2007-09-20 18:06:36 +00:00
parent d80d2a1334
commit 7ad70d9c83
4 changed files with 4 additions and 1 deletions

View file

@ -15,6 +15,7 @@ License. See the file "COPYING" for the exact licensing terms.
#include <KPluginLoader> #include <KPluginLoader>
KWIN_EFFECT_CONFIG_FACTORY
K_PLUGIN_FACTORY_DEFINITION(EffectFactory, registerPlugin<KWin::ShadowEffectConfig>("shadow"); K_PLUGIN_FACTORY_DEFINITION(EffectFactory, registerPlugin<KWin::ShadowEffectConfig>("shadow");
registerPlugin<KWin::PresentWindowsEffectConfig>("presentwindows");) registerPlugin<KWin::PresentWindowsEffectConfig>("presentwindows");)
K_EXPORT_PLUGIN(EffectFactory("kcm_kwineffect")) K_EXPORT_PLUGIN(EffectFactory("kcm_kwineffect"))

View file

@ -20,6 +20,7 @@ License. See the file "COPYING" for the exact licensing terms.
#include <QLabel> #include <QLabel>
#include <QComboBox> #include <QComboBox>
KWIN_EFFECT_CONFIG_FACTORY
namespace KWin namespace KWin
{ {

View file

@ -20,6 +20,7 @@ License. See the file "COPYING" for the exact licensing terms.
#include <QLabel> #include <QLabel>
#include <QSpinBox> #include <QSpinBox>
KWIN_EFFECT_CONFIG_FACTORY
namespace KWin namespace KWin
{ {

View file

@ -167,7 +167,7 @@ class KWIN_EXPORT Effect
/** /**
* The declaration of the factory to export the effect * The declaration of the factory to export the effect
**/ **/
K_PLUGIN_FACTORY_DECLARATION(EffectFactory) #define KWIN_EFFECT_CONFIG_FACTORY K_PLUGIN_FACTORY_DECLARATION(EffectFactory)
class KWIN_EXPORT EffectsHandler class KWIN_EXPORT EffectsHandler