diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
commit | 8362bf63dea22bbf6736609b0f49c152f975eb63 (patch) | |
tree | 0eea3928e39e50fae91d4e68b21b1e6cbae25604 /kchart/kchart_factory.h | |
download | koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.tar.gz koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.zip |
Added old abandoned KDE3 version of koffice
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1077364 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kchart/kchart_factory.h')
-rw-r--r-- | kchart/kchart_factory.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/kchart/kchart_factory.h b/kchart/kchart_factory.h new file mode 100644 index 00000000..13936e4a --- /dev/null +++ b/kchart/kchart_factory.h @@ -0,0 +1,46 @@ +/** + * $Id: kchart_factory.h 508787 2006-02-12 18:28:12Z ingwa $ + * + * Kalle Dalheimer <kalle@kde.org> + */ + +#ifndef KCHART_FACTORY_H +#define KCHART_FACTORY_H + + +#include <KoFactory.h> + + +class KInstance; +class KAboutData; + +namespace KChart +{ + +class KChartFactory : public KoFactory +{ + Q_OBJECT +public: + KChartFactory( QObject* parent = 0, const char* name = 0 ); + virtual ~KChartFactory(); + + virtual KParts::Part *createPartObject( QWidget* = 0, + const char * = 0, + QObject* parent = 0, + const char* name = 0, + const char* classname = "KoDocument", + const QStringList &args = QStringList() ); + + static KInstance* global(); + + // _Creates_ a KAboutData but doesn't keep ownership + static KAboutData* aboutData(); + +private: + static KInstance* s_global; + static KAboutData *s_aboutData; +}; + +} //namespace KChart + +#endif |