kexi
KexiPart::Manager Class Reference
#include <kexipartmanager.h>
Inheritance diagram for KexiPart::Manager:

Detailed Description
KexiPart's manager: looks up and instantiates them.It dlopens them when needed, they aren't dlopened at startup is not necessary.
Definition at line 68 of file kexipartmanager.h.
Signals | |
| void | partLoaded (KexiPart::Part *) |
Public Member Functions | |
| Manager (QObject *parent=0) | |
| void | lookup () |
| Part * | partForMimeType (const QString &mimeTypt) |
| Part * | part (Info *) |
| Info * | infoForMimeType (const QString &mimeType) |
| bool | checkProject (KexiDB::Connection *conn) |
| MissingList | missingParts () const |
| PartInfoList * | partInfoList () |
Protected Member Functions | |
| void | insertStaticPart (KexiPart::StaticPart *part) |
Friends | |
| class | StaticPart |
Constructor & Destructor Documentation
| Manager::Manager | ( | QObject * | parent = 0 |
) |
Member Function Documentation
| void Manager::lookup | ( | ) |
queries ktrader and creates a list of available parts
Definition at line 49 of file kexipartmanager.cpp.
| Part * Manager::partForMimeType | ( | const QString & | mimeTypt | ) |
- Returns:
- a part object for specified mime type. Dlopens a part using KexiPart::Info if needed. Return 0 if loading failed.
Definition at line 190 of file kexipartmanager.cpp.
- Returns:
- a part object for specified info. Dlopens a part using KexiPart::Info if needed. Return 0 if loading failed.
Definition at line 111 of file kexipartmanager.cpp.
| Info * Manager::infoForMimeType | ( | const QString & | mimeType | ) |
- Returns:
- the info for a corresponding internal mime
Definition at line 196 of file kexipartmanager.cpp.
| bool Manager::checkProject | ( | KexiDB::Connection * | conn | ) |
checks project's kexi__part table and checks if all parts used in a project are available locally
use missingParts() to get a list of missing parts
Definition at line 207 of file kexipartmanager.cpp.
| MissingList KexiPart::Manager::missingParts | ( | ) | const [inline] |
- Returns:
- parts metioned in the project meta tables but not available locally
Definition at line 112 of file kexipartmanager.h.
| PartInfoList* KexiPart::Manager::partInfoList | ( | ) | [inline] |
- Returns:
- a list of the available KexiParts in well-defined order
Definition at line 118 of file kexipartmanager.h.
| void Manager::insertStaticPart | ( | KexiPart::StaticPart * | part | ) | [protected] |
The documentation for this class was generated from the following files:

