You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
889 B
47 lines
889 B
15 years ago
|
/**
|
||
|
* $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
|