2
/* This template is based off of the KOffice example written by Torben Weis <weis@kde.org
3
It was converted to a KDevelop template by Ian Reinhart Geiser <geiseri@yahoo.com>
6
#ifndef %{APPNAME}_FACTORY_H
7
#define %{APPNAME}_FACTORY_H
14
class %{APPNAME}Factory : public KoFactory
18
%{APPNAME}Factory( QObject* parent = 0, const char* name = 0 );
21
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() );
23
static KInstance* global();
25
// _Creates_ a KAboutData but doesn't keep ownership
26
static KAboutData* aboutData();
29
static KInstance* s_global;
30
static KAboutData* s_aboutData;