Bug #: 4946
[WebKit-https.git] / WebCore / ksvg2 / KSVGFactory.h
index 1d087a2..a480dd8 100644 (file)
@@ -24,7 +24,7 @@
 #define KSVG_KSVGFactory_H
 
 #include <kurl.h>
 #define KSVG_KSVGFactory_H
 
 #include <kurl.h>
-#include <qptrlist.h>
+#include <q3ptrlist.h>
 
 #include <kparts/factory.h>
 #include <kparts/historyprovider.h>
 
 #include <kparts/factory.h>
 #include <kparts/historyprovider.h>
@@ -34,46 +34,46 @@ class KAboutData;
 
 namespace KSVG
 {
 
 namespace KSVG
 {
-       class KSVGPart;
-       class KSVGSettings;
-       class KSVGFactory : public KParts::Factory
-       {
-       public:
-               KSVGFactory(bool clone = false);
-               virtual ~KSVGFactory();
-
-               virtual KParts::Part *createPartObject(QWidget *parentWidget, const char *widgetName,
-                                                                                          QObject *parent, const char *name,
-                                                                                          const char *className, const QStringList &args);
-
-               static void registerPart(KSVGPart *part);
-               static void deregisterPart(KSVGPart *part);
-
-               static QPtrList<KSVGPart> *partList() { return s_parts; }
-
-               static KInstance *instance();
-               static KSVGSettings *defaultSVGSettings();
-               
-               // list of visited URLs
-               static KParts::HistoryProvider *vLinks()
-               {
-                       return KParts::HistoryProvider::self();
-               }
-               
-       protected:
-               static void ref();
-               static void deref();
-
-       private:
-               static unsigned long s_refcnt;
-               static KSVGFactory *s_self;
-               
-               static KInstance *s_instance;
-               static KAboutData *s_about;
-               static KSVGSettings *s_settings;
-               
-               static QPtrList<KSVGPart> *s_parts;
-       };
+    class KSVGPart;
+    class KSVGSettings;
+    class KSVGFactory : public KParts::Factory
+    {
+    public:
+        KSVGFactory(bool clone = false);
+        virtual ~KSVGFactory();
+
+        virtual KParts::Part *createPartObject(QWidget *parentWidget, const char *widgetName,
+                                               QObject *parent, const char *name,
+                                               const char *className, const QStringList &args);
+
+        static void registerPart(KSVGPart *part);
+        static void deregisterPart(KSVGPart *part);
+
+        static Q3PtrList<KSVGPart> *partList() { return s_parts; }
+
+        static KInstance *instance();
+        static KSVGSettings *defaultSVGSettings();
+        
+        // list of visited URLs
+        static KParts::HistoryProvider *vLinks()
+        {
+            return KParts::HistoryProvider::self();
+        }
+        
+    protected:
+        static void ref();
+        static void deref();
+
+    private:
+        static unsigned long s_refcnt;
+        static KSVGFactory *s_self;
+        
+        static KInstance *s_instance;
+        static KAboutData *s_about;
+        static KSVGSettings *s_settings;
+        
+        static Q3PtrList<KSVGPart> *s_parts;
+    };
 }
 
 #endif
 }
 
 #endif