X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebCore%2Fksvg2%2FKSVGFactory.h;h=a480dd8ef48249e01968cffb2d212434cb019267;hp=1d087a2ecbf4fad562b4f97150a6cf15083de656;hb=4ac88d931747f48e6391c4ce72556cee6b3aeddc;hpb=084e13bdd36e576d05656bc9fe70e06dca22aff3 diff --git a/WebCore/ksvg2/KSVGFactory.h b/WebCore/ksvg2/KSVGFactory.h index 1d087a2..a480dd8 100644 --- a/WebCore/ksvg2/KSVGFactory.h +++ b/WebCore/ksvg2/KSVGFactory.h @@ -24,7 +24,7 @@ #define KSVG_KSVGFactory_H #include -#include +#include #include #include @@ -34,46 +34,46 @@ class KAboutData; 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 *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 *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 *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 *s_parts; + }; } #endif