Qt 4.8
|
#include "qsql_mysql.h"
#include <qcoreapplication.h>
#include <qvariant.h>
#include <qdatetime.h>
#include <qsqlerror.h>
#include <qsqlfield.h>
#include <qsqlindex.h>
#include <qsqlquery.h>
#include <qsqlrecord.h>
#include <qstringlist.h>
#include <qtextcodec.h>
#include <qvector.h>
#include <qdebug.h>
#include "qsql_mysql.moc"
Go to the source code of this file.
Classes | |
class | QMYSQLDriverPrivate |
class | QMYSQLResultPrivate |
struct | QMYSQLResultPrivate::QMyField |
Macros | |
#define | Q_CLIENT_MULTI_STATEMENTS 0 |
Functions | |
static QTextCodec * | codec (MYSQL *mysql) |
static QByteArray | fromUnicode (QTextCodec *tc, const QString &str) |
static QVariant | qDateFromString (const QString &val) |
static QVariant | qDateTimeFromString (QString &val) |
static QVariant::Type | qDecodeMYSQLType (int mysqltype, uint flags) |
static void | qLibraryEnd () |
static void | qLibraryInit () |
static QSqlError | qMakeError (const QString &err, QSqlError::ErrorType type, const QMYSQLDriverPrivate *p) |
static QVariant | qTimeFromString (const QString &val) |
static QSqlField | qToField (MYSQL_FIELD *field, QTextCodec *tc) |
static void | setOptionFlag (uint &optionFlags, const QString &opt) |
static QString | toUnicode (QTextCodec *tc, const char *str) |
static QString | toUnicode (QTextCodec *tc, const char *str, int length) |
Variables | |
static int | qMySqlConnectionCount = 0 |
static bool | qMySqlInitHandledByUser = false |
#define Q_CLIENT_MULTI_STATEMENTS 0 |
Definition at line 74 of file qsql_mysql.cpp.
Referenced by QMYSQLDriver::open().
|
static |
Definition at line 220 of file qsql_mysql.cpp.
Referenced by QTextCodec::codecForMib(), QTextCodec::codecForName(), encodeText(), QDeclarativeXMLHttpRequest::findTextCodec(), QString::fromLocal8Bit(), QXmlInputSource::fromRawData(), QSettingsPrivate::iniEscapedStringList(), QXlibMime::mimeConvertToFormat(), QMYSQLDriver::open(), QMYSQLDriver::QMYSQLDriver(), QApplicationPrivate::qt_mac_apply_settings(), qt_x11_set_fallback_font_family(), QTextDecoder::QTextDecoder(), QTextEncoder::QTextEncoder(), QMimeDataPrivate::retrieveTypedData(), QPatternist::AccelTreeResourceLoader::retrieveUnparsedText(), QDomDocumentPrivate::saveDocument(), QTextOdfWriter::setCodec(), QSettings::setIniCodec(), QTextBrowserPrivate::setSource(), QClipboard::text(), QApplicationPrivate::x11_apply_settings(), and QX11Data::xdndMimeConvertToFormat().
|
inlinestatic |
Definition at line 115 of file qsql_mysql.cpp.
Referenced by QTextCodec::codecForName(), QTextCodec::fromUnicode(), QTextEncoder::QTextEncoder(), QMYSQLResult::reset(), and QMYSQLResult::virtual_hook().
Definition at line 125 of file qsql_mysql.cpp.
Referenced by QMYSQLResult::data().
Definition at line 149 of file qsql_mysql.cpp.
Referenced by QMYSQLResult::data().
|
static |
Definition at line 241 of file qsql_mysql.cpp.
Referenced by QMYSQLResult::nextResult(), qToField(), and QMYSQLResult::reset().
|
static |
Definition at line 1110 of file qsql_mysql.cpp.
Referenced by QMYSQLDriver::~QMYSQLDriver().
|
static |
Definition at line 1092 of file qsql_mysql.cpp.
Referenced by QMYSQLDriver::QMYSQLDriver().
|
static |
Definition at line 231 of file qsql_mysql.cpp.
Referenced by QMYSQLDriver::beginTransaction(), QMYSQLDriver::commitTransaction(), QMYSQLResult::nextResult(), QMYSQLDriver::open(), QMYSQLResult::reset(), QMYSQLDriver::rollbackTransaction(), and QMYSQLResult::virtual_hook().
Definition at line 137 of file qsql_mysql.cpp.
Referenced by QMYSQLResult::data().
|
static |
Definition at line 292 of file qsql_mysql.cpp.
Referenced by QMYSQLResult::record(), and QMYSQLDriver::record().
Definition at line 1209 of file qsql_mysql.cpp.
Referenced by QMYSQLDriver::open().
|
inlinestatic |
Definition at line 95 of file qsql_mysql.cpp.
Referenced by QTextCodec::codecForName(), QMYSQLResult::data(), QPdfEnginePrivate::embedFont(), QFontEngineXLFD::fontStruct(), QMYSQLDriver::formatValue(), QTextCodec::fromUnicode(), QFontSubset::glyphName(), qMakeError(), QTextDecoder::QTextDecoder(), qToField(), and QMYSQLDriver::tables().
|
inlinestatic |
Definition at line 105 of file qsql_mysql.cpp.
|
static |
Definition at line 1089 of file qsql_mysql.cpp.
|
static |
Definition at line 1090 of file qsql_mysql.cpp.