Kexi::ObjectStatus Class Reference
#include <kexi.h>
Inheritance diagram for Kexi::ObjectStatus:

Detailed Description
Helper class for storing object status.
Definition at line 90 of file kexi.h.
Public Member Functions | |
| ObjectStatus () | |
| ObjectStatus (const QString &message, const QString &description) | |
| ObjectStatus (KexiDB::Object *dbObject, const QString &message, const QString &description) | |
| ~ObjectStatus () | |
| const ObjectStatus & | status () const |
| bool | error () const |
| void | setStatus (const QString &message, const QString &description) |
| void | setStatus (KexiDB::Object *dbObject, const QString &message=QString::null, const QString &description=QString::null) |
| Note: for safety, dbObject needs to be derived from QObject, otherwise it won't be assigned. | |
| void | setStatus (KexiDB::ResultInfo *result, const QString &message=QString::null, const QString &description=QString::null) |
| void | setStatus (KexiDB::Object *dbObject, KexiDB::ResultInfo *result, const QString &message=QString::null, const QString &description=QString::null) |
| void | clearStatus () |
| QString | singleStatusString () const |
| void | append (const ObjectStatus &otherStatus) |
| KexiDB::Object * | dbObject () const |
| operator KexiDB::MessageHandler * () | |
| Helper returning pseudo handler that just updates this ObjectStatus object by receiving a message. | |
Public Attributes | |
| QString | message |
| QString | description |
Protected Attributes | |
| QGuardedPtr< QObject > | dbObj |
| KexiDB::MessageHandler * | msgHandler |
| This is in fact KexiDB::Object. | |
Constructor & Destructor Documentation
|
|
|
|
||||||||||||
|
Definition at line 180 of file kexi.cpp. References setStatus(). |
|
||||||||||||||||
|
Definition at line 186 of file kexi.cpp. References setStatus(). |
|
|
Definition at line 192 of file kexi.cpp. References msgHandler. |
Member Function Documentation
|
|
Definition at line 266 of file kexi.cpp. References description, message, and singleStatusString(). Referenced by KexiPart::Part::loadDataBlock(), KexiPart::Part::openInstance(), and KexiDialogBase::switchToViewMode(). |
|
|
Definition at line 254 of file kexi.cpp. References description, and message. Referenced by KexiMigration::KexiMigrate::checkIfDestinationDatabaseOverwritingNeedsAccepting(), KexiPart::Part::openInstance(), KexiMigration::KexiMigrate::performImport(), KexiStartupHandler::selectProject(), setStatus(), and KexiGUIMessageHandler::showErrorMessage(). |
|
|
Definition at line 124 of file kexi.h. Referenced by KexiGUIMessageHandler::showErrorMessage(). |
|
|
Definition at line 202 of file kexi.cpp. References dbObj, and message. Referenced by KexiPart::Part::openInstance(), and KexiGUIMessageHandler::showErrorMessage(). |
|
|
Helper returning pseudo handler that just updates this ObjectStatus object by receiving a message.
Definition at line 309 of file kexi.cpp. References msgHandler. |
|
||||||||||||||||||||
|
Definition at line 241 of file kexi.cpp. References setStatus(). |
|
||||||||||||||||
|
Definition at line 224 of file kexi.cpp. References clearStatus(). |
|
||||||||||||||||
|
Note: for safety, dbObject needs to be derived from QObject, otherwise it won't be assigned.
Definition at line 215 of file kexi.cpp. References dbObj. |
|
||||||||||||
|
Definition at line 208 of file kexi.cpp. References dbObj. Referenced by KexiMigration::KexiMigrate::checkIfDestinationDatabaseOverwritingNeedsAccepting(), ObjectStatus(), KexiMigration::KexiMigrate::performImport(), setStatus(), KexiDialogBase::storeNewData(), and KexiDialogBase::switchToViewMode(). |
|
|
Definition at line 260 of file kexi.cpp. References description, and message. Referenced by append(). |
|
|
Definition at line 197 of file kexi.cpp. Referenced by KexiPart::Part::openInstance(), and KexiDialogBase::switchToViewMode(). |
Member Data Documentation
|
|
Definition at line 132 of file kexi.h. Referenced by error(), and setStatus(). |
|
|
Definition at line 130 of file kexi.h. Referenced by append(), clearStatus(), KexiGUIMessageHandler::showErrorMessage(), and singleStatusString(). |
|
|
Definition at line 130 of file kexi.h. Referenced by append(), clearStatus(), error(), KexiGUIMessageHandler::showErrorMessage(), and singleStatusString(). |
|
|
This is in fact KexiDB::Object.
Definition at line 133 of file kexi.h. Referenced by operator KexiDB::MessageHandler *(), and ~ObjectStatus(). |
The documentation for this class was generated from the following files:
