Search for usage in LXR

#include <KDbError.h>

Public Member Functions

void clear ()

Public Attributes

bool allowToDiscardChanges = false
int column = -1
QString description
QString message
bool success = true

Detailed Description

This class contains a result information for various data manipulation operations, like cell/row updating/inserting.

Definition at line 114 of file KDbError.h.

Constructor & Destructor Documentation

◆ KDbResultInfo()

KDbResultInfo::KDbResultInfo ( )

Definition at line 117 of file KDbError.h.

Member Function Documentation

◆ clear()

void KDbResultInfo::clear ( )

Resets information to default values.

Definition at line 243 of file KDbResult.cpp.

Member Data Documentation

◆ allowToDiscardChanges

bool KDbResultInfo::allowToDiscardChanges = false

True if changes can be discarded, false by default If true, additional "Discard changes" message box button can be displayed.

Definition at line 125 of file KDbError.h.

◆ column

int KDbResultInfo::column = -1

Faulty column, -1 (the default) means: there is no faulty column.

Definition at line 130 of file KDbError.h.

◆ description

QString KDbResultInfo::description

Detailed error description, empty by default.

Definition at line 129 of file KDbError.h.

◆ message

QString KDbResultInfo::message

Error message, empty by default.

Definition at line 128 of file KDbError.h.

◆ success

bool KDbResultInfo::success = true

result of the operation, true by default

Definition at line 124 of file KDbError.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:21:01 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.