Commit 2ac2d9a1 authored by Raphael Kubo da Costa (rakuco)'s avatar Raphael Kubo da Costa (rakuco)
Browse files

Revert "Use K_PLUGIN_FACTORY to export arkpart."

I need more time to figure out why ark_part.rc isn't being read anymore.

svn path=/trunk/KDE/kdeutils/ark/; revision=995474
parent 565e32c1
......@@ -60,16 +60,15 @@
#include <QHeaderView>
#include <QPointer>
K_PLUGIN_FACTORY( ArkPartFactory, registerPlugin< Part >(); )
K_EXPORT_PLUGIN( ArkPartFactory("arkpart") )
typedef KParts::GenericFactory<Part> Factory;
K_EXPORT_COMPONENT_FACTORY(arkpart, Factory)
Part::Part(QWidget *parentWidget, QObject *parent, const QVariantList& args)
Part::Part(QWidget *parentWidget, QObject *parent, const QStringList& args)
: KParts::ReadWritePart(parent), m_model(new ArchiveModel(this)), m_previewDir(0), m_busy(false),
m_jobTracker(NULL)
{
Q_UNUSED(args);
setComponentData(ArkPartFactory::componentData());
setComponentData(Factory::componentData());
setXMLFile("ark_part.rc");
KVBox *mainWidget = new KVBox(parentWidget);
......
......@@ -44,7 +44,7 @@ class Part: public KParts::ReadWritePart, public Interface
Q_OBJECT
Q_INTERFACES(Interface)
public:
Part(QWidget *parentWidget, QObject *parent, const QVariantList &);
Part(QWidget *parentWidget, QObject *parent, const QStringList &);
~Part();
static KAboutData* createAboutData();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment