kexi
KexiPart::Info Class Reference
#include <kexipartinfo.h>
Inheritance diagram for KexiPart::Info:

Detailed Description
Information about a Kexi Part (plugin).
Definition at line 40 of file kexipartinfo.h.
Public Member Functions | |
Info (KService::Ptr service) | |
~Info () | |
QString | groupName () const |
QCString | mimeType () const |
QString | itemIcon () const |
QString | createItemIcon () const |
QString | objectName () const |
int | projectPartID () const |
KService::Ptr | ptr () const |
bool | isBroken () const |
bool | isVisibleInNavigator () const |
bool | isDataExportSupported () const |
bool | isPrintingSupported () const |
bool | isExecuteSupported () const |
Protected Member Functions | |
Info () | |
void | setProjectPartID (int id) |
void | setBroken (bool broken, const QString &errorMessage) |
QString | errorMessage () const |
void | setIdStoredInPartDatabase (bool set) |
bool | isIdStoredInPartDatabase () const |
Protected Attributes | |
Private * | d |
Friends | |
class | Manager |
class | ::KexiProject |
class | ::KexiMainWindowImpl |
class | ::KexiDialogBase |
Constructor & Destructor Documentation
Info::Info | ( | ) | [protected] |
Member Function Documentation
QString Info::groupName | ( | ) | const |
QCString Info::mimeType | ( | ) | const |
QString Info::itemIcon | ( | ) | const |
QString Info::createItemIcon | ( | ) | const |
QString Info::objectName | ( | ) | const |
- Returns:
- the object name associated with this part (e.g.
"table")
Definition at line 83 of file kexipartinfo.cpp.
int Info::projectPartID | ( | ) | const |
KService::Ptr Info::ptr | ( | ) | const |
bool Info::isBroken | ( | ) | const |
bool Info::isVisibleInNavigator | ( | ) | const |
- Returns:
- true if the part should be visible in the Project Navigator (as a folder).
Definition at line 89 of file kexipartinfo.cpp.
bool Info::isDataExportSupported | ( | ) | const |
bool Info::isPrintingSupported | ( | ) | const |
bool Info::isExecuteSupported | ( | ) | const |
- Returns:
- true if the part supports execution.
This is as example the case for the Macro and the Scripting plugins.
Definition at line 122 of file kexipartinfo.cpp.
void Info::setProjectPartID | ( | int | id | ) | [protected] |
void Info::setBroken | ( | bool | broken, | |
const QString & | errorMessage | |||
) | [protected] |
Sets the broken flag and error message.
Most likely to be called by KexiPart::Manager
Definition at line 95 of file kexipartinfo.cpp.
QString Info::errorMessage | ( | ) | const [protected] |
bool Info::isIdStoredInPartDatabase | ( | ) | const [protected] |
- Returns:
- true if ID of the part is stored in project's database false by default.
This flag is updated in Manager::checkProject() and set to true on first successful execution of KexiDialogBase::storeNewData()
Definition at line 105 of file kexipartinfo.cpp.
The documentation for this class was generated from the following files: