~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to krita/plugins/paintops/deform/deform_paintop_plugin.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <kcomponentdata.h>
23
23
#include <kstandarddirs.h>
24
24
#include <kis_debug.h>
25
 
#include <kgenericfactory.h>
 
25
#include <kpluginfactory.h>
26
26
 
27
27
#include <kis_paintop_registry.h>
28
28
 
30
30
#include "kis_deform_paintop_factory.h"
31
31
#include "kis_global.h"
32
32
 
33
 
typedef KGenericFactory<DeformPaintOpPlugin> DeformPaintOpPluginFactory;
34
 
K_EXPORT_COMPONENT_FACTORY(kritadeformpaintop, DeformPaintOpPluginFactory("krita"))
35
 
 
36
 
 
37
 
DeformPaintOpPlugin::DeformPaintOpPlugin(QObject *parent, const QStringList &)
38
 
        : KParts::Plugin(parent)
 
33
K_PLUGIN_FACTORY(DeformPaintOpPluginFactory, registerPlugin<DeformPaintOpPlugin>();)
 
34
K_EXPORT_PLUGIN(DeformPaintOpPluginFactory("krita"))
 
35
 
 
36
 
 
37
DeformPaintOpPlugin::DeformPaintOpPlugin(QObject *parent, const QVariantList &)
 
38
        : QObject(parent)
39
39
{
40
 
    setComponentData(DeformPaintOpPluginFactory::componentData());
 
40
    //setComponentData(DeformPaintOpPluginFactory::componentData());
41
41
    KisPaintOpRegistry *r = KisPaintOpRegistry::instance();
42
42
    r->add(new KisDeformPaintOpFactory);
43
43