[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/formeditor/test (silent)
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2004-08-03 9:38:56
Message-ID: 20040803093856.F2F23909C () office ! kde ! org
[Download RAW message or body]

CVS commit by staniek: 

CVS_SILENT: portability fixes


  M +4 -8      kfd_part.cpp   1.3


--- koffice/kexi/formeditor/test/kfd_part.cpp  #1.2:1.3
@@ -32,4 +32,5 @@
 #include <kapplication.h>
 #include <kiconloader.h>
+#include <klibloader.h>
 
 #include "form.h"
@@ -47,12 +48,4 @@
                 actionCollection()->action( name )->setEnabled( enable )
 
-extern "C"
-{
-        void* init_libkfd_part()
-        {
-                return new KFDFactory;
-        }
-};
-
 KInstance *KFDFactory::m_instance = 0L;
 
@@ -350,3 +343,6 @@ KFormDesignerPart::~KFormDesignerPart()
 }
 
+K_EXPORT_COMPONENT_FACTORY(libkfd_part, KFDFactory);
+
 #include "kfd_part.moc"
+


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic