KDevelop API Documentation

QEditorPartFactory Class Reference

#include <qeditor_factory.h>

Inheritance diagram for QEditorPartFactory:

Inheritance graph
[legend]
Collaboration diagram for QEditorPartFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QEditorPartFactory (bool clone=false)
virtual ~QEditorPartFactory ()
virtual KParts::PartcreatePartObject (QWidget *parentWidget, const char *widgetName, QObject *parent, const char *name, const char *classname, const QStringList &args)

Static Public Member Functions

KInstanceinstance ()
const QPtrList< class QEditorPart > & documents ()
void registerDocument (class QEditorPart *doc)
void deregisterDocument (class QEditorPart *doc)
const QPtrList< class QEditorView > & views ()
void registerView (class QEditorView *view)
void deregisterView (class QEditorView *view)
KTrader::OfferList * plugins ()

Static Private Member Functions

void ref ()
void deref ()

Static Private Attributes

unsigned long s_refcnt = 0
QEditorPartFactorys_self = 0
QPtrList< class QEditorPart > * s_documents = 0
QPtrList< class QEditorView > * s_views = 0
KInstances_instance = 0
KAboutDatas_about = 0
KTrader::OfferList * s_plugins = 0

Constructor & Destructor Documentation

QEditorPartFactory::QEditorPartFactory bool  clone = false  ) 
 

Definition at line 54 of file qeditor_factory.cpp.

References ref().

QEditorPartFactory::~QEditorPartFactory  )  [virtual]
 

Definition at line 63 of file qeditor_factory.cpp.

References deref(), s_about, s_documents, s_instance, s_plugins, s_refcnt, s_self, and s_views.


Member Function Documentation

KParts::Part * QEditorPartFactory::createPartObject QWidget parentWidget,
const char *  widgetName,
QObject parent,
const char *  name,
const char *  classname,
const QStringList args
[virtual]
 

Implements KParts::Factory.

Definition at line 119 of file qeditor_factory.cpp.

References KParts::ReadWritePart::setReadWrite().

void QEditorPartFactory::deref  )  [static, private]
 

Definition at line 110 of file qeditor_factory.cpp.

References s_refcnt, and s_self.

Referenced by deregisterDocument(), deregisterView(), and ~QEditorPartFactory().

void QEditorPartFactory::deregisterDocument class QEditorPart doc  )  [static]
 

Definition at line 145 of file qeditor_factory.cpp.

References deref(), and s_documents.

Referenced by QEditorPart::~QEditorPart().

void QEditorPartFactory::deregisterView class QEditorView view  )  [static]
 

Definition at line 173 of file qeditor_factory.cpp.

References deref(), and s_views.

Referenced by QEditorView::~QEditorView().

const QPtrList< class QEditorPart > & QEditorPartFactory::documents  )  [static]
 

Definition at line 217 of file qeditor_factory.cpp.

KInstance * QEditorPartFactory::instance  )  [static]
 

Definition at line 197 of file qeditor_factory.cpp.

References KAboutData::addAuthor(), I18N_NOOP, s_about, s_instance, and s_self.

Referenced by CIndent::CIndent(), OCamlColorizer::OCamlColorizer(), QSourceColorizer::QSourceColorizer(), QSourceColorizer::updateStyles(), CIndent::~CIndent(), OCamlColorizer::~OCamlColorizer(), and QSourceColorizer::~QSourceColorizer().

KTrader::OfferList * QEditorPartFactory::plugins  )  [static]
 

Definition at line 189 of file qeditor_factory.cpp.

References s_plugins.

void QEditorPartFactory::ref  )  [static, private]
 

Definition at line 100 of file qeditor_factory.cpp.

References s_refcnt, and s_self.

Referenced by QEditorPartFactory(), registerDocument(), and registerView().

void QEditorPartFactory::registerDocument class QEditorPart doc  )  [static]
 

Definition at line 133 of file qeditor_factory.cpp.

References ref(), and s_documents.

Referenced by QEditorPart::QEditorPart().

void QEditorPartFactory::registerView class QEditorView view  )  [static]
 

Definition at line 161 of file qeditor_factory.cpp.

References ref(), and s_views.

Referenced by QEditorView::QEditorView().

const QPtrList< class QEditorView > & QEditorPartFactory::views  )  [static]
 

Definition at line 222 of file qeditor_factory.cpp.


Member Data Documentation

KAboutData * QEditorPartFactory::s_about = 0 [static, private]
 

Definition at line 41 of file qeditor_factory.cpp.

Referenced by instance(), and ~QEditorPartFactory().

QPtrList< QEditorPart > * QEditorPartFactory::s_documents = 0 [static, private]
 

Definition at line 42 of file qeditor_factory.cpp.

Referenced by deregisterDocument(), registerDocument(), and ~QEditorPartFactory().

KInstance * QEditorPartFactory::s_instance = 0 [static, private]
 

Definition at line 40 of file qeditor_factory.cpp.

Referenced by instance(), and ~QEditorPartFactory().

KTrader::OfferList * QEditorPartFactory::s_plugins = 0 [static, private]
 

Definition at line 44 of file qeditor_factory.cpp.

Referenced by plugins(), and ~QEditorPartFactory().

unsigned long int QEditorPartFactory::s_refcnt = 0 [static, private]
 

Definition at line 39 of file qeditor_factory.cpp.

Referenced by deref(), ref(), and ~QEditorPartFactory().

QEditorPartFactory * QEditorPartFactory::s_self = 0 [static, private]
 

Definition at line 38 of file qeditor_factory.cpp.

Referenced by deref(), instance(), ref(), and ~QEditorPartFactory().

QPtrList< QEditorView > * QEditorPartFactory::s_views = 0 [static, private]
 

Definition at line 43 of file qeditor_factory.cpp.

Referenced by deregisterView(), registerView(), and ~QEditorPartFactory().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:28:53 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003