Changeset View
Changeset View
Standalone View
Standalone View
kexi/core/kexi.cpp
Context not available. | |||||
198 | || (dynamic_cast<KexiDB::Object*>((QObject*)dbObj) && dynamic_cast<KexiDB::Object*>((QObject*)dbObj)->error()); | 198 | || (dynamic_cast<KexiDB::Object*>((QObject*)dbObj) && dynamic_cast<KexiDB::Object*>((QObject*)dbObj)->error()); | ||
---|---|---|---|---|---|
199 | } | 199 | } | ||
200 | 200 | | |||
201 | void ObjectStatus::setStatus(const QString& message, const QString& description) | 201 | void ObjectStatus::setStatus(const QString& message, const QString& description, const QString& errorSql) | ||
202 | { | 202 | { | ||
203 | this->dbObj = 0; | 203 | this->dbObj = 0; | ||
204 | this->message = message; | 204 | this->message = message; | ||
205 | this->description = description; | 205 | this->description = description; | ||
206 | this->errorSql = errorSql; | ||||
206 | } | 207 | } | ||
207 | 208 | | |||
208 | void ObjectStatus::setStatus(KexiDB::Object* dbObject, const QString& message, const QString& description) | 209 | void ObjectStatus::setStatus(KexiDB::Object* dbObject, const QString& message, const QString& description) | ||
Context not available. |