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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? qsqlindex.cpp

?? QT 開發環境里面一個很重要的文件
?? CPP
字號:
/******************************************************************************** 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 "qsqlindex.h"#include "qsqlfield.h"#include "qstringlist.h"/*!    \class QSqlIndex    \brief The QSqlIndex class provides functions to manipulate and    describe database indexes.    \ingroup database    \module sql    An \e index refers to a single table or view in a database.    Information about the fields that comprise the index can be used    to generate SQL statements, or to affect the behavior of a    QSqlCursor object.*//*!    Constructs an empty index using the cursor name \a cursorname and    index name \a name.*/QSqlIndex::QSqlIndex(const QString& cursorname, const QString& name)    : cursor(cursorname), nm(name){}/*!    Constructs a copy of \a other.*/QSqlIndex::QSqlIndex(const QSqlIndex& other)    : QSqlRecord(other), cursor(other.cursor), nm(other.nm), sorts(other.sorts){}/*!    Sets the index equal to \a other.*/QSqlIndex& QSqlIndex::operator=(const QSqlIndex& other){    cursor = other.cursor;    nm = other.nm;    sorts = other.sorts;    QSqlRecord::operator=(other);    return *this;}/*!    Destroys the object and frees any allocated resources.*/QSqlIndex::~QSqlIndex(){}/*!    Sets the name of the index to \a name.*/void QSqlIndex::setName(const QString& name){    nm = name;}/*!    \fn QString QSqlIndex::name() const    Returns the name of the index.*//*!    Appends the field \a field to the list of indexed fields. The    field is appended with an ascending sort order.*/void QSqlIndex::append(const QSqlField& field){    append(field, false);}/*!    \overload    Appends the field \a field to the list of indexed fields. The    field is appended with an ascending sort order, unless \a desc is    true.*/void QSqlIndex::append(const QSqlField& field, bool desc){    sorts.append(desc);    QSqlRecord::append(field);}/*!    Returns true if field \a i in the index is sorted in descending    order; otherwise returns false.*/bool QSqlIndex::isDescending(int i) const{    if (i >= 0 && i < sorts.size())        return sorts[i];    return false;}/*!    If \a desc is true, field \a i is sorted in descending order.    Otherwise, field \a i is sorted in ascending order (the default).    If the field does not exist, nothing happens.*/void QSqlIndex::setDescending(int i, bool desc){    if (i >= 0 && i < sorts.size())        sorts[i] = desc;}#ifdef QT3_SUPPORT/*!    Returns a comma-separated list of all the index's field names as a    string. This string is suitable, for example, for generating a    SQL SELECT statement. Only generated fields are included in the    list (see \l{isGenerated()}). If a \a prefix is specified, e.g. a    table name, it is prepended before all field names in the form:    "\a{prefix}.<fieldname>"    If \a sep is specified, each field is separated by \a sep. If \a    verbose is true (the default), each field contains a suffix    indicating an ASCending or DESCending sort order.*/QString QSqlIndex::toString(const QString& prefix, const QString& sep, bool verbose) const{    QString s;    bool comma = false;    for (int i = 0; i < count(); ++i) {        if(comma)            s += sep + QLatin1Char(' ');        s += createField(i, prefix, verbose);        comma = true;    }    return s;}/*!    Returns a list of all the index's field names. Only generated    fields are included in the list (see \l{isGenerated()}). If a \a    prefix is specified, e.g. a table name, all fields are prefixed in    the form:    "\a{prefix}.<fieldname>"    If \a verbose is true (the default), each field contains a suffix    indicating an ASCending or DESCending sort order.    Note that if you want to iterate over the list, you should iterate    over a copy, e.g.    \code    QStringList list = myIndex.toStringList();    QStringList::Iterator it = list.begin();    while(it != list.end()) {        myProcessing(*it);        ++it;    }    \endcode*/QStringList QSqlIndex::toStringList(const QString& prefix, bool verbose) const{    QStringList s;    for (int i = 0; i < count(); ++i)        s += createField(i, prefix, verbose);    return s;}#endif/*! \internal  Creates a string representing the field number \a i using prefix \a  prefix. If \a verbose is true, ASC or DESC is included in the field  description if the field is sorted in ASCending or DESCending order.*/QString QSqlIndex::createField(int i, const QString& prefix, bool verbose) const{    QString f;    if (!prefix.isEmpty())        f += prefix + QLatin1Char('.');    f += field(i).name();    if (verbose)        f += QLatin1Char(' ') + QString((isDescending(i)                    ? QLatin1String("DESC") : QLatin1String("ASC")));    return f;}/*!    \fn QString QSqlIndex::cursorName() const    Returns the name of the cursor which the index is associated with.*//*!    Sets the name of the cursor that the index is associated with to    \a cursorName.*/void QSqlIndex::setCursorName(const QString& cursorName){    cursor = cursorName;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲色大成网站www久久九九| 久久九九影视网| 成人av一区二区三区| 韩国成人在线视频| 国产一区二区三区| 国产一区二区美女| 国产成人av影院| 国产高清视频一区| 不卡一区在线观看| 91美女精品福利| 欧美日韩精品久久久| 91精品国产综合久久福利| 精品国产免费久久| 欧美国产日韩亚洲一区| **欧美大码日韩| 亚洲一区二区三区小说| 美女高潮久久久| 国产精品一区二区久久不卡 | 成人动漫在线一区| 99久精品国产| 欧美日韩精品一区二区在线播放| 欧美日韩一级片在线观看| 欧美电影免费观看高清完整版在| 26uuu精品一区二区| 亚洲欧美偷拍另类a∨色屁股| 亚洲成人中文在线| 国产综合色在线视频区| 色综合天天性综合| 欧美成人综合网站| 1000精品久久久久久久久| 天堂午夜影视日韩欧美一区二区| 韩国一区二区在线观看| 成人av午夜电影| 欧美一区二区三区免费| 中文字幕在线一区免费| 免费不卡在线观看| 91社区在线播放| 久久夜色精品国产欧美乱极品| 国产精品久久久久婷婷| 久久疯狂做爰流白浆xx| 色欲综合视频天天天| 久久亚洲综合av| 亚洲国产日韩综合久久精品| 国产精品1区2区3区在线观看| 在线日韩av片| 国产精品视频看| 免费av网站大全久久| 在线免费不卡电影| 亚洲国产精品传媒在线观看| 理论片日本一区| 欧美日韩色一区| 国产精品初高中害羞小美女文| 卡一卡二国产精品 | 亚洲女子a中天字幕| 韩国女主播一区| 制服丝袜一区二区三区| 亚洲免费伊人电影| 成人激情免费网站| 欧美精品一区二区三区在线播放| 亚洲一区视频在线| 91在线观看视频| 国产精品视频yy9299一区| 国产麻豆精品一区二区| 欧美一区二区视频免费观看| 亚洲国产精品久久久久婷婷884 | 中文字幕亚洲在| 成人自拍视频在线| 久久久综合精品| 精品一区二区三区在线观看国产| 欧美日韩1区2区| 亚洲一级在线观看| 日本道色综合久久| 亚洲黄色尤物视频| 欧美性猛片xxxx免费看久爱| 一区二区三区欧美| 在线观看日韩精品| 亚洲国产精品一区二区尤物区| 色一情一乱一乱一91av| 亚洲电影中文字幕在线观看| 欧美色综合久久| 日本一区中文字幕| 日韩欧美在线不卡| 国产精品白丝av| 17c精品麻豆一区二区免费| 99re6这里只有精品视频在线观看| 国产精品丝袜91| 91黄色免费观看| 免费成人在线影院| 久久这里只有精品视频网| 国产精品小仙女| 国产精品家庭影院| 欧美老肥妇做.爰bbww视频| 日产国产高清一区二区三区| 亚洲精品在线免费播放| jlzzjlzz亚洲女人18| 亚洲日本在线看| 91精品国产品国语在线不卡| 激情国产一区二区| 国产精品第13页| 欧美精品乱码久久久久久| 九色porny丨国产精品| 国产日产欧美一区二区视频| 91香蕉视频在线| 日韩av在线发布| 国产视频在线观看一区二区三区 | 国产在线不卡一区| 国产精品萝li| 欧美一区二区三区在线观看 | 精品国产成人在线影院| 成年人国产精品| 日韩在线一二三区| 中文字幕亚洲电影| 91精品国产综合久久蜜臀| 成人黄色在线网站| 日韩av在线免费观看不卡| 亚洲视频免费在线观看| 欧美成人一区二区| 欧美性受xxxx黑人xyx性爽| 国产成人啪午夜精品网站男同| 一区二区三区精密机械公司| 久久香蕉国产线看观看99| 91国产成人在线| 处破女av一区二区| 精品一二三四区| 五月天网站亚洲| 中文字幕综合网| 久久综合久久综合九色| 在线播放亚洲一区| 日本乱码高清不卡字幕| 成人午夜私人影院| 麻豆精品一区二区| 午夜精品在线看| 亚洲一区二区影院| 亚洲三级在线免费观看| 国产欧美一区二区三区沐欲| 日韩一区二区精品在线观看| 色婷婷综合久色| 成人av一区二区三区| 懂色av一区二区三区蜜臀| 久久精品噜噜噜成人av农村| 婷婷综合久久一区二区三区| 一区二区三区在线播放| 综合久久久久久| 国产精品美女久久久久aⅴ国产馆| 日韩精品自拍偷拍| 欧美xxx久久| 欧美mv日韩mv亚洲| 精品国产乱码久久久久久牛牛| 5858s免费视频成人| 欧美三级资源在线| 欧美丰满少妇xxxxx高潮对白| 欧美综合一区二区| 欧美日韩精品欧美日韩精品一 | 91国偷自产一区二区开放时间| 99在线精品视频| 色婷婷精品久久二区二区蜜臀av| 成人黄色av网站在线| 成人av在线电影| 色婷婷精品大在线视频 | 午夜亚洲国产au精品一区二区| 亚洲国产视频网站| 亚洲综合成人在线视频| 午夜精品一区二区三区免费视频 | 男人操女人的视频在线观看欧美| 日韩电影免费一区| 经典一区二区三区| 国产精品一区二区三区四区| 成人精品视频一区二区三区| 色国产综合视频| 欧美一区在线视频| 国产欧美1区2区3区| 亚洲欧美日韩久久精品| 亚洲成av人片www| 激情久久五月天| 日本道色综合久久| 日韩一区二区三区高清免费看看| 久久精品免费在线观看| 亚洲欧美经典视频| 日本不卡的三区四区五区| 国产福利精品导航| 欧美日韩一区久久| 欧美精品一区二区三区在线| 亚洲人成7777| 美国毛片一区二区| 99久久精品国产导航| 欧美一级二级在线观看| 国产精品日韩成人| 蜜桃久久av一区| 色综合久久综合网| 亚洲精品一区二区精华| 一区二区三区欧美| 大陆成人av片| 日韩女优av电影| 亚洲精品亚洲人成人网在线播放| 麻豆视频一区二区| 日本韩国欧美一区二区三区| 精品国精品国产| 午夜精品福利视频网站| 91亚洲精华国产精华精华液| 日韩女优电影在线观看|