Kexi API Documentation (2.0 alpha)

KexiDB::ResultInfo Class Reference

#include <error.h>

List of all members.


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

KexiDB::ResultInfo::ResultInfo  )  [inline]
 

Definition at line 113 of file error.h.


Member Function Documentation

void KexiDB::ResultInfo::clear  )  [inline]
 

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

bool KexiDB::ResultInfo::allowToDiscardChanges
 

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().

int KexiDB::ResultInfo::column
 

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().

QString KexiDB::ResultInfo::desc
 

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().

QString KexiDB::ResultInfo::msg
 

Definition at line 131 of file error.h.

Referenced by KexiTableViewData::deleteRow(), KexiDB::getHTMLErrorMesage(), KexiTableViewData::saveRow(), KexiDataAwareObjectInterface::showErrorMessageForResult(), and KexiQueryDesignerGuiEditor::slotBeforeCellChanged().

bool KexiDB::ResultInfo::success
 

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:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:43 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003