亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? qsqldriver.cpp

?? QT 開發(fā)環(huán)境里面一個(gè)很重要的文件
?? CPP
?? 第 1 頁 / 共 2 頁
字號:
/******************************************************************************** Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.**** This file is part of the QtSql module of the Qt Toolkit.**** This file may be used under the terms of the GNU General Public** License version 2.0 as published by the Free Software Foundation** and appearing in the file LICENSE.GPL included in the packaging of** this file.  Please review the following information to ensure GNU** General Public Licensing requirements will be met:** http://www.trolltech.com/products/qt/opensource.html**** If you are unsure which license is appropriate for your use, please** review the following information:** http://www.trolltech.com/products/qt/licensing.html or contact the** sales department at sales@trolltech.com.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.******************************************************************************/#include "qsqldriver.h"#include "qdatetime.h"#include "qsqlerror.h"#include "qsqlfield.h"#include "qsqlindex.h"#include "qstringlist.h"#include "private/qobject_p.h"class QSqlDriverPrivate : public QObjectPrivate{public:    QSqlDriverPrivate();    virtual ~QSqlDriverPrivate();public:    // @CHECK: this member is never used. It was named q, which expanded to q_func().    QSqlDriver *q_func();    uint isOpen : 1;    uint isOpenError : 1;    QSqlError error;};inline QSqlDriverPrivate::QSqlDriverPrivate()    : QObjectPrivate(), isOpen(false), isOpenError(false){}QSqlDriverPrivate::~QSqlDriverPrivate(){}/*!    \class QSqlDriver    \brief The QSqlDriver class is an abstract base class for accessing    specific SQL databases.    \ingroup database    \module sql    This class should not be used directly. Use QSqlDatabase instead.    If you want to create your own SQL drivers, you can subclass this    class and reimplement its pure virtual functions and those    virtual functions that you need. See \l{How to Write Your Own    Database Driver} for more information.    \sa QSqlDatabase, QSqlResult*//*!    Constructs a new driver with the given \a parent.*/QSqlDriver::QSqlDriver(QObject *parent)    : QObject(*new QSqlDriverPrivate, parent){}/*!    Destroys the object and frees any allocated resources.*/QSqlDriver::~QSqlDriver(){}/*!    \fn bool QSqlDriver::open(const QString &db, const QString &user, const QString& password,                              const QString &host, int port, const QString &options)    Derived classes must reimplement this pure virtual function to    open a database connection on database \a db, using user name \a    user, password \a password, host \a host, port \a port and    connection options \a options.    The function must return true on success and false on failure.    \sa setOpen()*//*!    \fn bool QSqlDriver::close()    Derived classes must reimplement this pure virtual function in    order to close the database connection. Return true on success,    false on failure.    \sa open(), setOpen()*//*!    \fn QSqlResult *QSqlDriver::createResult() const    Creates an empty SQL result on the database. Derived classes must    reimplement this function and return a QSqlResult object    appropriate for their database to the caller.*//*!    Returns true if the database connection is open; otherwise returns    false.*/bool QSqlDriver::isOpen() const{    return d_func()->isOpen;}/*!    Returns true if the there was an error opening the database    connection; otherwise returns false.*/bool QSqlDriver::isOpenError() const{    return d_func()->isOpenError;}/*!    \enum QSqlDriver::DriverFeature    This enum contains a list of features a driver might support. Use    hasFeature() to query whether a feature is supported or not.    \value Transactions  Whether the driver supports SQL transactions.    \value QuerySize  Whether the database is capable of reporting the size    of a query. Note that some databases do not support returning the size    (i.e. number of rows returned) of a query, in which case    QSqlQuery::size() will return -1.    \value BLOB  Whether the driver supports Binary Large Object fields.    \value Unicode  Whether the driver supports Unicode strings if the    database server does.    \value PreparedQueries  Whether the driver supports prepared query execution.    \value NamedPlaceholders  Whether the driver supports the use of named placeholders.    \value PositionalPlaceholders  Whether the driver supports the use of positional placeholders.    \value LastInsertId  Whether the driver supports returning the Id of the last touched row.    \value BatchOperations  Whether the driver supports batched operations, see QSqlResult::execBatch()    More information about supported features can be found in the    \l{sql-driver.html}{Qt SQL driver} documentation.    \sa hasFeature()*//*!    \enum QSqlDriver::StatementType    This enum contains a list of SQL statement (or clause) types the    driver can create.    \value WhereStatement  An SQL \c WHERE statement (e.g., \c{WHERE f = 5}).    \value SelectStatement An SQL \c SELECT statement (e.g., \c{SELECT f FROM t}).    \value UpdateStatement An SQL \c UPDATE statement (e.g., \c{UPDATE TABLE t set f = 1}).    \value InsertStatement An SQL \c INSERT statement (e.g., \c{INSERT INTO t (f) values (1)}).    \value DeleteStatement An SQL \c DELETE statement (e.g., \c{DELETE FROM t}).    \sa sqlStatement()*//*!    \enum QSqlDriver::IdentifierType    This enum contains a list of SQL identifier types.    \value FieldName A SQL field name    \value TableName A SQL table name*//*!    \fn bool QSqlDriver::hasFeature(DriverFeature feature) const    Returns true if the driver supports feature \a feature; otherwise    returns false.    Note that some databases need to be open() before this can be    determined.    \sa DriverFeature*//*!    This function sets the open state of the database to \a open.    Derived classes can use this function to report the status of    open().    \sa open(), setOpenError()*/void QSqlDriver::setOpen(bool open){    d_func()->isOpen = open;}/*!    This function sets the open error state of the database to \a    error. Derived classes can use this function to report the status    of open(). Note that if \a error is true the open state of the    database is set to closed (i.e., isOpen() returns false).    \sa open(), setOpen()*/void QSqlDriver::setOpenError(bool error){    d_func()->isOpenError = error;    if (error)        d_func()->isOpen = false;}/*!    This function is called to begin a transaction. If successful,    return true, otherwise return false. The default implementation    does nothing and returns false.    \sa commitTransaction(), rollbackTransaction()*/bool QSqlDriver::beginTransaction(){    return false;}/*!    This function is called to commit a transaction. If successful,    return true, otherwise return false. The default implementation    does nothing and returns false.    \sa beginTransaction(), rollbackTransaction()*/bool QSqlDriver::commitTransaction(){    return false;}/*!    This function is called to rollback a transaction. If successful,    return true, otherwise return false. The default implementation    does nothing and returns false.    \sa beginTransaction(), commitTransaction()*/bool QSqlDriver::rollbackTransaction(){    return false;}/*!    This function is used to set the value of the last error, \a error,    that occurred on the database.    \sa lastError()*/void QSqlDriver::setLastError(const QSqlError &error){    d_func()->error = error;}/*!    Returns a QSqlError object which contains information about the    last error that occurred on the database.*/QSqlError QSqlDriver::lastError() const{    return d_func()->error;}/*!    Returns a list of the names of the tables in the database. The    default implementation returns an empty list.    The \a tableType argument describes what types of tables    should be returned. Due to binary compatibility, the string    contains the value of the enum QSql::TableTypes as text.    An empty string should be treated as QSql::Tables for    backward compatibility.*/QStringList QSqlDriver::tables(QSql::TableType) const{    return QStringList();}/*!    Returns the primary index for table \a tableName. Returns an empty    QSqlIndex if the table doesn't have a primary index. The default    implementation returns an empty index.*/QSqlIndex QSqlDriver::primaryIndex(const QString&) const{

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人免费视频一区| 人人狠狠综合久久亚洲| 不卡的av在线播放| 国产精品久久三区| 成人av网址在线| 亚洲人成伊人成综合网小说| 色综合 综合色| 日韩国产高清影视| 亚洲精品在线观看网站| 欧美性猛交xxxxxx富婆| 亚洲成人精品一区| 日韩欧美激情四射| 国产69精品久久777的优势| 亚洲天堂2016| 日韩一级高清毛片| 国产美女精品人人做人人爽| 国产精品国产三级国产普通话99| 99re成人精品视频| 日韩国产在线一| 国产亚洲欧美激情| 一本大道av一区二区在线播放| 天堂影院一区二区| 久久精品亚洲精品国产欧美| 96av麻豆蜜桃一区二区| 蜜桃精品视频在线观看| 中文字幕精品在线不卡| 欧美日韩一区三区四区| 国产精品1区二区.| 五月开心婷婷久久| 精品99一区二区三区| 日本黄色一区二区| 免费欧美在线视频| 国产精品久久久久久久久免费相片 | 欧美精品一区二区久久婷婷| 成人免费视频视频在线观看免费| 亚洲第一成人在线| 国产精品美女久久久久久2018| 欧美精品久久一区二区三区| 成人免费毛片片v| 五月激情六月综合| 亚洲日本中文字幕区| 欧美成人性战久久| 欧美这里有精品| 国产成人亚洲精品青草天美| 日韩av中文字幕一区二区三区| 国产精品乱码人人做人人爱| 日韩午夜av电影| 欧美色精品天天在线观看视频| 高清视频一区二区| 久久av中文字幕片| 亚洲不卡在线观看| 亚洲三级在线观看| 久久精品亚洲国产奇米99| 日韩午夜电影av| 欧美日韩专区在线| 色综合久久久久久久| 国产精品香蕉一区二区三区| 奇米亚洲午夜久久精品| 亚洲美女屁股眼交3| 国产精品毛片大码女人| 久久欧美中文字幕| 日韩久久久精品| 制服丝袜国产精品| 欧美日韩视频一区二区| 91麻豆福利精品推荐| 97精品电影院| 97久久久精品综合88久久| 成人影视亚洲图片在线| 国产乱理伦片在线观看夜一区| 奇米色一区二区| 日韩不卡一区二区| 蜜臀av在线播放一区二区三区| 午夜激情一区二区| 日韩不卡免费视频| 美女视频免费一区| 久久精品国产一区二区三区免费看 | 欧美情侣在线播放| 欧美色图在线观看| 欧美日韩一区久久| 在线成人小视频| 欧美放荡的少妇| 欧美一三区三区四区免费在线看 | 亚洲美女在线一区| 一区二区三区四区在线免费观看| 又紧又大又爽精品一区二区| 亚洲最大成人综合| 亚洲成人午夜影院| 蜜桃视频第一区免费观看| 精品一区二区久久久| 国产在线精品不卡| 成人免费福利片| 日本高清不卡一区| 欧美一区二区三区在线| 日韩精品一区在线| 欧美国产日韩精品免费观看| 亚洲三级电影网站| 三级影片在线观看欧美日韩一区二区 | 91精品视频网| 精品电影一区二区| 中文字幕欧美激情一区| 亚洲免费在线观看视频| 亚洲一二三专区| 另类小说色综合网站| 国产高清亚洲一区| 一本久久a久久免费精品不卡| 欧美日产国产精品| www精品美女久久久tv| 国产精品―色哟哟| 午夜精品久久久久久久久久久| 精品午夜久久福利影院 | 欧美伊人精品成人久久综合97| 欧美综合在线视频| 欧美videofree性高清杂交| 中文欧美字幕免费| 亚洲成av人片一区二区三区| 九九**精品视频免费播放| 成人爱爱电影网址| 91精品免费观看| 国产精品久久久久毛片软件| 日韩精品一二区| 风间由美一区二区av101| 精品视频一区二区三区免费| 精品动漫一区二区三区在线观看| 亚洲精品菠萝久久久久久久| 国模大尺度一区二区三区| 色综合咪咪久久| 欧美精品一区二区久久婷婷| 一级女性全黄久久生活片免费| 精品无码三级在线观看视频| 色婷婷av一区二区三区软件| 亚洲精品一区二区三区在线观看| 亚洲精品免费在线播放| 国产一区二区久久| 欧美久久久一区| 日韩毛片视频在线看| 精品一区二区三区日韩| 欧美日韩在线一区二区| 欧美国产禁国产网站cc| 精品一区二区三区在线播放 | 欧美在线不卡一区| 日本一区二区三区高清不卡| 日韩国产精品大片| 欧美色图一区二区三区| 中文字幕中文字幕一区二区| 久久91精品久久久久久秒播 | 精品久久久三级丝袜| 五月激情综合婷婷| 欧美日韩一区二区三区视频| 国产精品网站导航| 国产精品中文字幕日韩精品 | 中文字幕视频一区| 韩国av一区二区三区在线观看| 欧美亚洲自拍偷拍| 日韩一区欧美一区| 成人免费毛片高清视频| 久久久久久久久久久黄色| 经典三级在线一区| 精品国产乱子伦一区| 麻豆精品视频在线观看视频| 666欧美在线视频| 天天综合天天综合色| 欧美日韩精品二区第二页| 一区二区三区四区蜜桃 | 一本到不卡精品视频在线观看| 日本一区二区三区免费乱视频 | 综合久久久久综合| 国产v综合v亚洲欧| 国产午夜亚洲精品理论片色戒 | 中文字幕高清不卡| 国产成人丝袜美腿| 国产精品欧美久久久久无广告| 国产成人综合网站| 中文字幕av资源一区| 成人激情小说网站| 亚洲图片激情小说| 日本福利一区二区| 一个色妞综合视频在线观看| 欧美吻胸吃奶大尺度电影| 亚洲二区视频在线| 91精品国产aⅴ一区二区| 久久国产精品无码网站| 久久久久国产精品免费免费搜索 | 色综合久久88色综合天天6| 亚洲激情图片qvod| 91精品国产91久久综合桃花| 激情国产一区二区| 国产精品久久精品日日| 欧美性受xxxx| 蜜臀久久久99精品久久久久久| 精品国产三级a在线观看| 国产精品一区二区在线看| 中文字幕佐山爱一区二区免费| 欧美色精品天天在线观看视频| 毛片av中文字幕一区二区| 日本一区二区三区在线观看| 色老汉av一区二区三区| 日本一不卡视频| 国产亚洲污的网站| 在线观看欧美黄色| 国内不卡的二区三区中文字幕|