kexi

KexiPart::Info Class Reference

#include <kexipartinfo.h>

Inheritance diagram for KexiPart::Info:

KexiPart::StaticInfo

List of all members.


Detailed Description

Information about a Kexi Part (plugin).

Definition at line 40 of file kexipartinfo.h.


Public Member Functions

 Info (KService::Ptr service)
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]

Used in StaticInfo.

Definition at line 65 of file kexipartinfo.cpp.


Member Function Documentation

QString Info::groupName (  )  const

Returns:
a i18n'ed group name e.g. "Tables"

Definition at line 75 of file kexipartinfo.cpp.

QCString Info::mimeType (  )  const

Returns:
the internal mime type of this part

Definition at line 77 of file kexipartinfo.cpp.

QString Info::itemIcon (  )  const

Returns:
the icon for groups

the icon for a item

Definition at line 79 of file kexipartinfo.cpp.

QString Info::createItemIcon (  )  const

Returns:
the icon for a item

Definition at line 81 of file kexipartinfo.cpp.

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

Returns:
the project-part-id

Definition at line 91 of file kexipartinfo.cpp.

KService::Ptr Info::ptr (  )  const

Returns:
the KService::Ptr associated with this part

Definition at line 85 of file kexipartinfo.cpp.

bool Info::isBroken (  )  const

Returns:
true if loading was tried but failed

Definition at line 87 of file kexipartinfo.cpp.

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

Returns:
true if the part supports data exporting.

Definition at line 110 of file kexipartinfo.cpp.

bool Info::isPrintingSupported (  )  const

Returns:
true if the part supports data printing.

Definition at line 116 of file kexipartinfo.cpp.

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]

Sets the project-part-id.

Definition at line 93 of file kexipartinfo.cpp.

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]

Returns:
i18n'd error message set by setBroken().

Definition at line 98 of file kexipartinfo.cpp.

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:
KDE Home | KDE Accessibility Home | Description of Access Keys