KexiDB::ResultInfo Class Reference
#include <error.h>
Detailed Description
This class contains a result information for various data manipulation operations, like cell/row updating/inserting.
Definition at line 110 of file error.h.
Public Member Functions | |
| ResultInfo () | |
| void | clear () |
Public Attributes | |
| bool | success: 1 |
| result of the operation, true by default | |
| bool | allowToDiscardChanges: 1 |
| True if changes can be discarded, false by default If true, additional "Discard changes" messagebox button can be displayed. | |
| QString | msg |
| QString | desc |
| error message and detailed description, both empty by default | |
| int | column |
| faulty column, -1 (the default) means: there is no faulty column | |
Constructor & Destructor Documentation
|
|
|
Member Function Documentation
|
|
Sets information to default values. Definition at line 120 of file error.h. Referenced by KexiTableViewData::deleteRow(), KexiTableViewData::saveNewRow(), KexiTableViewData::saveRowChanges(), KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal(), and KexiTableViewData::updateRowEditBufferRef(). |
Member Data Documentation
|
|
True if changes can be discarded, false by default If true, additional "Discard changes" messagebox button can be displayed.
Definition at line 128 of file error.h. Referenced by KexiDataAwareObjectInterface::showErrorMessageForResult(), and KexiQueryDesignerGuiEditor::slotBeforeCellChanged(). |
|
|
faulty column, -1 (the default) means: there is no faulty column
Definition at line 132 of file error.h. Referenced by KexiTableViewData::saveRow(), and KexiQueryDesignerGuiEditor::slotBeforeCellChanged(). |
|
|
error message and detailed description, both empty by default
Definition at line 131 of file error.h. Referenced by KexiDB::getHTMLErrorMesage(), KexiTableViewData::saveRow(), KexiDataAwareObjectInterface::showErrorMessageForResult(), and KexiQueryDesignerGuiEditor::slotBeforeCellChanged(). |
|
|
Definition at line 131 of file error.h. Referenced by KexiTableViewData::deleteRow(), KexiDB::getHTMLErrorMesage(), KexiTableViewData::saveRow(), KexiDataAwareObjectInterface::showErrorMessageForResult(), and KexiQueryDesignerGuiEditor::slotBeforeCellChanged(). |
|
|
result of the operation, true by default
Definition at line 127 of file error.h. Referenced by KexiQueryDesignerGuiEditor::afterSwitchFrom(), KexiTableViewData::deleteRow(), KexiQueryDesignerGuiEditor::loadLayout(), KexiTableViewData::saveNewRow(), KexiTableViewData::saveRowChanges(), KexiQueryDesignerGuiEditor::slotBeforeCellChanged(), and KexiTableViewData::updateRowEditBufferRef(). |
The documentation for this class was generated from the following file:
