Kate
KateFactory Class Reference
#include <katefactory.h>
Detailed Description
Definition at line 52 of file katefactory.h.
Constructor & Destructor Documentation
KateFactory::~KateFactory | ( | ) |
Member Function Documentation
KParts::Part * KateFactory::createPartObject | ( | QWidget * | parentWidget, | |
const char * | widgetName, | |||
QObject * | parent, | |||
const char * | name, | |||
const char * | classname, | |||
const QStringList & | args | |||
) |
reimplemented create object method
- Parameters:
-
parentWidget parent widget widgetName widget name parent QObject parent name object name classname class parent args additional arguments
- Returns:
- constructed part object
Definition at line 209 of file katefactory.cpp.
void KateFactory::deregisterDocument | ( | KateDocument * | doc | ) |
unregister document at the factory
- Parameters:
-
doc document to register
Definition at line 227 of file katefactory.cpp.
void KateFactory::deregisterRenderer | ( | KateRenderer * | renderer | ) |
unregister renderer at the factory
- Parameters:
-
renderer renderer to unregister
Definition at line 247 of file katefactory.cpp.
void KateFactory::deregisterView | ( | KateView * | view | ) |
unregister view at the factory
- Parameters:
-
view view to unregister
Definition at line 237 of file katefactory.cpp.
KDirWatch* KateFactory::dirWatch | ( | ) | [inline] |
KateDocumentConfig* KateFactory::documentConfig | ( | ) | [inline] |
fallback document config
- Returns:
- default config for all documents
Definition at line 178 of file katefactory.h.
QPtrList<KateDocument>* KateFactory::documents | ( | ) | [inline] |
return a list of all registered docs
- Returns:
- all known documents
Definition at line 135 of file katefactory.h.
KateFileTypeManager* KateFactory::fileTypeManager | ( | ) | [inline] |
global filetype manager used to manage the file types centrally
- Returns:
- filetype manager
Definition at line 166 of file katefactory.h.
KateIndentScript KateFactory::indentScript | ( | const QString & | scriptname | ) |
looks up a script given by name.
If there are more than one matching, the first found will be taken
Definition at line 265 of file katefactory.cpp.
KInstance* KateFactory::instance | ( | ) | [inline] |
KateJScript * KateFactory::jscript | ( | ) |
KateJScriptManager* KateFactory::jscriptManager | ( | ) | [inline] |
const KTrader::OfferList& KateFactory::plugins | ( | ) | [inline] |
on start detected plugins
- Returns:
- list of all at launch detected ktexteditor::plugins
Definition at line 153 of file katefactory.h.
void KateFactory::registerDocument | ( | KateDocument * | doc | ) |
register document at the factory this allows us to loop over all docs for example on config changes
- Parameters:
-
doc document to register
Definition at line 222 of file katefactory.cpp.
void KateFactory::registerRenderer | ( | KateRenderer * | renderer | ) |
register renderer at the factory this allows us to loop over all views for example on config changes
- Parameters:
-
renderer renderer to register
Definition at line 242 of file katefactory.cpp.
void KateFactory::registerView | ( | KateView * | view | ) |
register view at the factory this allows us to loop over all views for example on config changes
- Parameters:
-
view view to register
Definition at line 232 of file katefactory.cpp.
KateRendererConfig* KateFactory::rendererConfig | ( | ) | [inline] |
fallback renderer config
- Returns:
- default config for all renderers
Definition at line 190 of file katefactory.h.
QPtrList<KateRenderer>* KateFactory::renderers | ( | ) | [inline] |
return a list of all registered renderers
- Returns:
- all known renderers
Definition at line 147 of file katefactory.h.
KateSchemaManager* KateFactory::schemaManager | ( | ) | [inline] |
manager for the katepart schemas
- Returns:
- schema manager
Definition at line 172 of file katefactory.h.
KateFactory * KateFactory::self | ( | ) | [static] |
KateViewConfig* KateFactory::viewConfig | ( | ) | [inline] |
fallback view config
- Returns:
- default config for all views
Definition at line 184 of file katefactory.h.
return a list of all registered views
- Returns:
- all known views
Definition at line 141 of file katefactory.h.
KVMAllocator* KateFactory::vm | ( | ) | [inline] |
The documentation for this class was generated from the following files: