~ubuntu-branches/ubuntu/saucy/koffice/saucy

« back to all changes in this revision

Viewing changes to kpresenter/plugins/pageeffects/matrixwipe/Plugin.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-12-06 15:30:09 UTC
  • mfrom: (0.13.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101206153009-yf0dqbp9l7fzwxi8
Tags: 1:2.2.91-0ubuntu1
New upstream RC release

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * Boston, MA 02110-1301, USA.
19
19
 */
20
20
#include "Plugin.h"
21
 
#include <kgenericfactory.h>
 
21
#include <kpluginfactory.h>
22
22
#include <KPrPageEffectRegistry.h>
23
23
 
24
24
#include "snakewipe/KPrSnakeWipeEffectFactory.h"
27
27
#include "boxsnakes/KPrBoxSnakesWipeEffectFactory.h"
28
28
#include "waterfallwipe/KPrWaterfallWipeEffectFactory.h"
29
29
 
30
 
K_EXPORT_COMPONENT_FACTORY( kpr_pageeffect_matrixwipe, KGenericFactory<Plugin>( "KPrPageEffect" ) )
 
30
K_PLUGIN_FACTORY(PluginFactory, registerPlugin<Plugin>();)
 
31
K_EXPORT_PLUGIN(PluginFactory("KPrPageEffect"))
31
32
 
32
 
Plugin::Plugin(QObject *parent, const QStringList &)
 
33
Plugin::Plugin(QObject *parent, const QVariantList &)
33
34
    : QObject(parent)
34
35
{
35
36
    KPrPageEffectRegistry::instance()->add(new KPrSnakeWipeEffectFactory());