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 /kformula/kformula_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 'kformula/kformula_factory.h')
-rw-r--r-- | kformula/kformula_factory.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/kformula/kformula_factory.h b/kformula/kformula_factory.h new file mode 100644 index 00000000..dc9fe2f1 --- /dev/null +++ b/kformula/kformula_factory.h @@ -0,0 +1,29 @@ +#ifndef KFORMULA_FACTORY_H +#define KFORMULA_FACTORY_H + +#include <KoFactory.h> +//#include <kaboutdata.h> + +class KInstance; +class KInstance; +class KAboutData; + +class KFormulaFactory : public KoFactory +{ + Q_OBJECT +public: + KFormulaFactory( QObject* parent = 0, const char* name = 0 ); + ~KFormulaFactory(); + + virtual KParts::Part *createPartObject( QWidget *parentWidget = 0, const char *widgetName = 0, QObject *parent = 0, const char *name = 0, const char *classname = "KoDocument", const QStringList &args = QStringList() ); + + static KInstance* global(); + + static KAboutData* aboutData(); + +private: + static KInstance* s_global; + static KAboutData* s_aboutData; +}; + +#endif |