Index: knode/knode_part.cpp
===================================================================
--- knode/knode_part.cpp	(revision 782948)
+++ knode/knode_part.cpp	(working copy)
@@ -39,10 +39,10 @@
 #include <QVBoxLayout>
 
 
-typedef KParts::GenericFactory< KNodePart > KNodeFactory;
-K_EXPORT_COMPONENT_FACTORY( knodepart, KNodeFactory )
+K_PLUGIN_FACTORY(KNodeFactory, registerPlugin<KNodePart>();)
+K_EXPORT_PLUGIN(KNodeFactory( "knodepart" ))
 
-KNodePart::KNodePart( QWidget *parentWidget, QObject *parent, const QStringList &)
+KNodePart::KNodePart( QWidget *parentWidget, QObject *parent, const QVariantList &)
   : KParts::ReadOnlyPart( parent ),
   mParentWidget( parentWidget )
 {
Index: knode/knode_part.h
===================================================================
--- knode/knode_part.h	(revision 782948)
+++ knode/knode_part.h	(working copy)
@@ -43,7 +43,7 @@
 {
     Q_OBJECT
   public:
-    KNodePart(QWidget *parentWidget, QObject *parent, const QStringList &);
+    KNodePart(QWidget *parentWidget, QObject *parent, const QVariantList &);
     virtual ~KNodePart();
 
     QWidget* parentWidget() const;
