KPlato::Factory Class Reference

#include <kptfactory.h>

List of all members.

Public Member Functions

 Factory (QObject *parent=0, const char *name=0)
 ~Factory ()
virtual KParts::Part * createPartObject (QWidget *parentWidget=0, QObject *parent=0, const char *classname="KoDocument", const QStringList &args=QStringList())

Static Public Member Functions

static KInstance * global ()
static KAboutData * aboutData ()

Static Private Attributes

static KInstance * s_global
static KAboutData * s_aboutData


Detailed Description

Definition at line 30 of file kptfactory.h.


Constructor & Destructor Documentation

KPlato::Factory::Factory ( QObject *  parent = 0,
const char *  name = 0 
)

Definition at line 35 of file kptfactory.cc.

References global().

KPlato::Factory::~Factory (  ) 

Definition at line 41 of file kptfactory.cc.

References s_aboutData, and s_global.


Member Function Documentation

KParts::Part * KPlato::Factory::createPartObject ( QWidget *  parentWidget = 0,
QObject *  parent = 0,
const char *  classname = "KoDocument",
const QStringList &  args = QStringList() 
) [virtual]

Definition at line 49 of file kptfactory.cc.

KInstance * KPlato::Factory::global (  )  [static]

Definition at line 77 of file kptfactory.cc.

References aboutData(), and s_global.

Referenced by Factory(), KPlato::Config::load(), KPlato::Part::Part(), KPlato::Config::save(), KPlato::TaskEditor::TaskEditor(), and KPlato::View::View().

KAboutData * KPlato::Factory::aboutData (  )  [static]

Definition at line 70 of file kptfactory.cc.

References KPlato::newAboutData(), and s_aboutData.

Referenced by global().


Member Data Documentation

KInstance * KPlato::Factory::s_global [static, private]

Definition at line 45 of file kptfactory.h.

Referenced by global(), and ~Factory().

KAboutData * KPlato::Factory::s_aboutData [static, private]

Definition at line 46 of file kptfactory.h.

Referenced by aboutData(), and ~Factory().


The documentation for this class was generated from the following files:
Generated on Wed Nov 22 23:21:49 2006 for KPlato by  doxygen 1.5.1-p1