~ubuntu-branches/ubuntu/raring/koffice/raring

« back to all changes in this revision

Viewing changes to filters/karbon/png/PngExport.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:
39
39
#include <KoFilterManager.h>
40
40
#include <KoZoomHandler.h>
41
41
 
42
 
#include <kgenericfactory.h>
 
42
#include <kpluginfactory.h>
43
43
#include <KDialog>
44
44
#include <QImage>
45
45
 
46
 
typedef KGenericFactory<PngExport> PngExportFactory;
47
 
K_EXPORT_COMPONENT_FACTORY(libkarbonpngexport, PngExportFactory("kofficefilters"))
48
 
 
49
 
 
50
 
PngExport::PngExport(QObject*parent, const QStringList&)
 
46
K_PLUGIN_FACTORY(PngExportFactory, registerPlugin<PngExport>();)
 
47
K_EXPORT_PLUGIN(PngExportFactory("kofficefilters"))
 
48
 
 
49
 
 
50
PngExport::PngExport(QObject*parent, const QVariantList&)
51
51
        : KoFilter(parent)
52
52
{
53
53
}