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) | |
| creates an empty instance | |
| ~Manager () | |
| void | lookup () |
| queries ktrader and creates a list of available parts | |
| Part * | partForMimeType (const QString &mimeTypt) |
| Part * | part (Info *) |
| Info * | infoForMimeType (const QString &mimeType) |
| bool | checkProject (KexiDB::Connection *conn) |
| checks project's kexi__part table and checks if all parts used in a project are available locally | |
| MissingList | missingParts () const |
| PartInfoList * | partInfoList () |
Protected Member Functions | |
| void | insertStaticPart (KexiPart::StaticPart *part) |
| Used by StaticPart. | |
Friends | |
| class | StaticPart |
Constructor & Destructor Documentation
|
|
creates an empty instance
Definition at line 38 of file kexipartmanager.cpp. |
|
|
Definition at line 106 of file kexipartmanager.cpp. |
Member Function Documentation
|
|
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. References KexiDB::Object::clearError(), KexiDB::Connection::deleteCursor(), KexiDB::Cursor::eof(), KexiDB::Connection::executeQuery(), infoForMimeType(), KexiDB::Connection::insertRecord(), KexiDB::Connection::isDatabaseUsed(), KexiPart::Missing::mime, KexiDB::Cursor::moveFirst(), KexiDB::Cursor::moveNext(), KexiPart::Missing::name, KexiDB::Object::setError(), KexiPart::Info::setIdStoredInPartDatabase(), KexiPart::Info::setProjectPartID(), KexiDB::FieldList::subList(), KexiDB::Connection::tableSchema(), KexiPart::Missing::url, and KexiDB::Cursor::value(). |
|
|
Definition at line 196 of file kexipartmanager.cpp. References KexiDB::Object::setError(). Referenced by checkProject(). |
|
|
Used by StaticPart.
Definition at line 269 of file kexipartmanager.cpp. References KexiPart::Part::info(). |
|
|
queries ktrader and creates a list of available parts
Definition at line 49 of file kexipartmanager.cpp. References KEXI_PART_VERSION, KexiPart::Info::mimeType(), KexiPart::Info::setProjectPartID(), size, Kexi::tempShowForms(), Kexi::tempShowMacros(), Kexi::tempShowReports(), and Kexi::tempShowScripts(). |
|
|
Definition at line 112 of file kexipartmanager.h. |
|
|
Definition at line 111 of file kexipartmanager.cpp. References KexiDB::Object::clearError(), KexiDB::Object::error(), KexiPart::Info::errorMessage(), KexiPart::Info::isBroken(), KexiPart::Part::m_registeredPartID, KexiPart::Info::objectName(), partLoaded(), KexiPart::Info::projectPartID(), KexiPart::Info::ptr(), KexiPart::Info::setBroken(), KexiDB::Object::setError(), KexiPart::Part::setInfo(), and KexiPart::Info::setProjectPartID(). Referenced by partForMimeType(). |
|
|
Definition at line 190 of file kexipartmanager.cpp. References part(). |
|
|
Definition at line 118 of file kexipartmanager.h. |
|
|
Referenced by part(). |
Friends And Related Function Documentation
|
|
Definition at line 135 of file kexipartmanager.h. |
The documentation for this class was generated from the following files:
