digiKam
|
Public Member Functions | |
DbEngineActionType () | |
DbEngineActionType (const DbEngineActionType &actionType) | |
QVariant | getActionValue () |
bool | isValue () const |
void | setActionValue (const QVariant &actionValue) |
void | setValue (bool isValue) |
~DbEngineActionType () | |
Static Public Member Functions | |
static DbEngineActionType | fieldEntry (const QVariant &actionValue) |
static DbEngineActionType | value (const QVariant &value) |
The DbEngineActionType is used by the BdEngineBackend to wrap another data object within an sql statement and controls whether it should be used as field entry or as value (prepared to an sql statement with positional binding).
Digikam::DbEngineActionType::DbEngineActionType | ( | ) |
Digikam::DbEngineActionType::DbEngineActionType | ( | const DbEngineActionType & | actionType | ) |
Digikam::DbEngineActionType::~DbEngineActionType | ( | ) |
|
static |
References setActionValue(), and setValue().
Referenced by Digikam::BdEngineBackend::execUpsertDBAction().
QVariant Digikam::DbEngineActionType::getActionValue | ( | ) |
Returns the wrapped object.
Referenced by Digikam::BdEngineBackend::execQuery().
bool Digikam::DbEngineActionType::isValue | ( | ) | const |
Returns true, if the entry is an value element. Returns false, if the entry should be used as field entry.
Referenced by Digikam::BdEngineBackend::execQuery(), and setValue().
void Digikam::DbEngineActionType::setActionValue | ( | const QVariant & | actionValue | ) |
Sets the wrapped object.
Referenced by fieldEntry(), and value().
void Digikam::DbEngineActionType::setValue | ( | bool | isValue | ) |
Sets the DBAction mode: true, if the entry is an value element. false, if the entry should be used as field entry.
References isValue().
Referenced by fieldEntry(), and value().
|
static |
References setActionValue(), and setValue().
Referenced by Digikam::BdEngineBackend::execQuery(), and Digikam::BdEngineBackend::execUpsertDBAction().