WARNING: USE THIS SOFTWARE AT YOUR OWN RISK! THIS IS EXPERIMENTAL SOFTWARE NOT INTENDED FOR PRODUCTION USE! Zuble is currently an early stage prototype. As such Zuble is minimally tested and inherently unstable. It is provided for experimental, development, and demonstration purposes only. | Zuble QML Types | Zuble C++ Classes | Zuble Overview |
Zuble
0.1
Zuble Framework C++/QML extension API
|
A Javascript wrapper for QSqlError objects. (database sprocket) More...
#include <ZsqlError.h>
Public Member Functions | |
ZsqlError (QObject *parent=0) | |
Q_INVOKABLE bool | equals (QObject *other) |
Returns true if specified object is a ZsqlError object with the same value as this object. More... | |
QString | getText () |
QString | getDriverText () |
QString | getDatabaseText () |
QString | getErrorType () |
int | getErrorNumber () |
bool | isValid () |
ZsqlError & | operator= (const ZsqlError &other) |
ZsqlError & | operator= (const QSqlError &sqlError) |
bool | operator== (const ZsqlError &other) const |
bool | operator== (const QSqlError &other) const |
Properties | |
bool | valid |
Returns true if an error is set, false otherwise. More... | |
int | number |
Returns both database and driver error message text concatenated into a single string. More... | |
QString | text |
Returns both database and driver error message text concatenated into a single string. More... | |
QString | driverText |
Returns driver error message text. More... | |
QString | databaseText |
Returns database error message text. More... | |
QString | errorType |
Returns database error type. More... | |
Private Attributes | |
QSqlError | m_error |
A Javascript wrapper for QSqlError objects. (database sprocket)
Definition at line 40 of file ZsqlError.h.
|
explicit |
Definition at line 30 of file ZsqlError.cpp.
bool Zbl::ZsqlError::equals | ( | QObject * | other | ) |
Returns true if specified object is a ZsqlError object with the same value as this object.
Definition at line 105 of file ZsqlError.cpp.
QString Zbl::ZsqlError::getDatabaseText | ( | ) |
Definition at line 45 of file ZsqlError.cpp.
QString Zbl::ZsqlError::getDriverText | ( | ) |
Definition at line 40 of file ZsqlError.cpp.
int Zbl::ZsqlError::getErrorNumber | ( | ) |
Definition at line 71 of file ZsqlError.cpp.
QString Zbl::ZsqlError::getErrorType | ( | ) |
Definition at line 50 of file ZsqlError.cpp.
QString Zbl::ZsqlError::getText | ( | ) |
Definition at line 35 of file ZsqlError.cpp.
bool Zbl::ZsqlError::isValid | ( | ) |
Definition at line 77 of file ZsqlError.cpp.
Definition at line 83 of file ZsqlError.cpp.
ZsqlError & Zbl::ZsqlError::operator= | ( | const QSqlError & | sqlError | ) |
Definition at line 89 of file ZsqlError.cpp.
bool Zbl::ZsqlError::operator== | ( | const ZsqlError & | other | ) | const |
Definition at line 95 of file ZsqlError.cpp.
bool Zbl::ZsqlError::operator== | ( | const QSqlError & | other | ) | const |
Definition at line 100 of file ZsqlError.cpp.
|
private |
Definition at line 120 of file ZsqlError.h.
Referenced by getDatabaseText(), getDriverText(), getErrorNumber(), getErrorType(), getText(), isValid(), operator=(), and operator==().
|
read |
Returns database error message text.
Definition at line 81 of file ZsqlError.h.
|
read |
|
read |
|
read |
Returns both database and driver error message text concatenated into a single string.
Definition at line 59 of file ZsqlError.h.
|
read |
Returns both database and driver error message text concatenated into a single string.
Definition at line 67 of file ZsqlError.h.
|
read |
Returns true if an error is set, false otherwise.
Definition at line 51 of file ZsqlError.h.
Zuble documentation copyright © 2019 Bob Dinitto. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Zuble is a derivative work of Qt version 5. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.