summaryrefslogtreecommitdiffstats
path: root/kformula/kformula_factory.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-20 01:29:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-20 01:29:50 +0000
commit8362bf63dea22bbf6736609b0f49c152f975eb63 (patch)
tree0eea3928e39e50fae91d4e68b21b1e6cbae25604 /kformula/kformula_factory.h
downloadkoffice-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.h29
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