Changeset View
Changeset View
Standalone View
Standalone View
kexi/core/kexi.h
Context not available. | |||||
110 | 110 | | |||
---|---|---|---|---|---|
111 | bool error() const; | 111 | bool error() const; | ||
112 | 112 | | |||
113 | void setStatus(const QString& message, const QString& description); | 113 | void setStatus(const QString& message, const QString& description, | ||
114 | const QString& errorSql = QString()); | ||||
114 | 115 | | |||
115 | //! Note: for safety, \a dbObject needs to be derived from QObject, | 116 | //! Note: for safety, \a dbObject needs to be derived from QObject, | ||
116 | //! otherwise it won't be assigned | 117 | //! otherwise it won't be assigned | ||
Context not available. | |||||
137 | //! by receiving a message | 138 | //! by receiving a message | ||
138 | operator KexiDB::MessageHandler*(); | 139 | operator KexiDB::MessageHandler*(); | ||
139 | 140 | | |||
140 | QString message, description; | 141 | QString message; | ||
142 | QString description; | ||||
143 | QString errorSql; //!< Recently executed SQL, overrides information from dbObject() | ||||
141 | protected: | 144 | protected: | ||
142 | QPointer<QObject> dbObj; //! This is in fact KexiDB::Object | 145 | QPointer<QObject> dbObj; //! This is in fact KexiDB::Object | ||
143 | KexiDB::MessageHandler* msgHandler; | 146 | KexiDB::MessageHandler* msgHandler; | ||
Context not available. |