summaryrefslogtreecommitdiffstats
path: root/kformula/kformula_factory.h
blob: 61f4fc9965deaa36bc1cae47ec08985822af0507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#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
  TQ_OBJECT
public:
    KFormulaFactory( TQObject* tqparent = 0, const char* name = 0 );
    ~KFormulaFactory();

    virtual KParts::Part *createPartObject( TQWidget *tqparentWidget = 0, const char *widgetName = 0, TQObject *tqparent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() );

    static KInstance* global();

    static KAboutData* aboutData();

private:
    static KInstance* s_global;
    static KAboutData* s_aboutData;
};

#endif