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

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

?? qabstractitemmodel.h

?? QT 開發環境里面一個很重要的文件
?? H
字號:
/******************************************************************************** Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.**** This file is part of the QtCore 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.******************************************************************************/#ifndef QABSTRACTITEMMODEL_H#define QABSTRACTITEMMODEL_H#include <QtCore/qvariant.h>#include <QtCore/qobject.h>QT_BEGIN_HEADERQT_MODULE(Core)class QAbstractItemModel;class QPersistentModelIndex;class Q_CORE_EXPORT QModelIndex{    friend class QAbstractItemModel;    friend class QProxyModel;public:    inline QModelIndex() : r(-1), c(-1), p(0), m(0) {}    inline QModelIndex(const QModelIndex &other)        : r(other.r), c(other.c), p(other.p), m(other.m) {}    inline ~QModelIndex() { p = 0; m = 0; }    inline int row() const { return r; }    inline int column() const { return c; }    inline void *internalPointer() const { return p; }    inline qint64 internalId() const { return reinterpret_cast<qint64>(p); }    inline QModelIndex parent() const;    inline QModelIndex sibling(int row, int column) const;    inline QModelIndex child(int row, int column) const;    inline QVariant data(int role = Qt::DisplayRole) const;    inline Qt::ItemFlags flags() const;    inline const QAbstractItemModel *model() const { return m; }    inline bool isValid() const { return (r >= 0) && (c >= 0) && (m != 0); }    inline bool operator==(const QModelIndex &other) const        { return (other.r == r && other.c == c && other.p == p && other.m == m); }    inline bool operator!=(const QModelIndex &other) const        { return !(*this == other); }    inline bool operator<(const QModelIndex &other) const        { if (r < other.r) return true;          if (r == other.r && c < other.c) return true;          if (r == other.r && c == other.c) return p < other.p;          return false; }private:    inline QModelIndex(int row, int column, void *ptr, const QAbstractItemModel *model);    int r, c;    void *p;    const QAbstractItemModel *m;};Q_DECLARE_TYPEINFO(QModelIndex, Q_MOVABLE_TYPE);#ifndef QT_NO_DEBUG_STREAMQ_CORE_EXPORT QDebug operator<<(QDebug, const QModelIndex &);#endifclass QPersistentModelIndexData;class Q_CORE_EXPORT QPersistentModelIndex{public:    QPersistentModelIndex();    QPersistentModelIndex(const QModelIndex &index);    QPersistentModelIndex(const QPersistentModelIndex &other);    ~QPersistentModelIndex();    bool operator<(const QPersistentModelIndex &other) const;    bool operator==(const QPersistentModelIndex &other) const;    inline bool operator!=(const QPersistentModelIndex &other) const    { return !operator==(other); }    QPersistentModelIndex &operator=(const QPersistentModelIndex &other);    bool operator==(const QModelIndex &other) const;    bool operator!=(const QModelIndex &other) const;    QPersistentModelIndex &operator=(const QModelIndex &other);    operator const QModelIndex&() const;    int row() const;    int column() const;    void *internalPointer() const;    qint64 internalId() const;    QModelIndex parent() const;    QModelIndex sibling(int row, int column) const;    QModelIndex child(int row, int column) const;    QVariant data(int role = Qt::DisplayRole) const;    Qt::ItemFlags flags() const;    const QAbstractItemModel *model() const;    bool isValid() const;private:    QPersistentModelIndexData *d;#ifndef QT_NO_DEBUG_STREAM    friend Q_CORE_EXPORT QDebug operator<<(QDebug, const QPersistentModelIndex &);#endif};Q_DECLARE_TYPEINFO(QPersistentModelIndex, Q_MOVABLE_TYPE);#ifndef QT_NO_DEBUG_STREAMQ_CORE_EXPORT QDebug operator<<(QDebug, const QPersistentModelIndex &);#endiftemplate<typename T> class QList;typedef QList<QModelIndex> QModelIndexList;class QMimeData;class QAbstractItemModelPrivate;template <class Key, class T> class QMap;class Q_CORE_EXPORT QAbstractItemModel : public QObject{    Q_OBJECT    friend class QPersistentModelIndexData;public:    explicit QAbstractItemModel(QObject *parent = 0);    virtual ~QAbstractItemModel();    bool hasIndex(int row, int column, const QModelIndex &parent = QModelIndex()) const;    virtual QModelIndex index(int row, int column,                              const QModelIndex &parent = QModelIndex()) const = 0;    virtual QModelIndex parent(const QModelIndex &child) const = 0;    inline QModelIndex sibling(int row, int column, const QModelIndex &idx) const        { return index(row, column, parent(idx)); }    virtual int rowCount(const QModelIndex &parent = QModelIndex()) const = 0;    virtual int columnCount(const QModelIndex &parent = QModelIndex()) const = 0;    virtual bool hasChildren(const QModelIndex &parent = QModelIndex()) const;    virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const = 0;    virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);    virtual QVariant headerData(int section, Qt::Orientation orientation,                                int role = Qt::DisplayRole) const;    virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value,                               int role = Qt::EditRole);    virtual QMap<int, QVariant> itemData(const QModelIndex &index) const;    virtual bool setItemData(const QModelIndex &index, const QMap<int, QVariant> &roles);    virtual QStringList mimeTypes() const;    virtual QMimeData *mimeData(const QModelIndexList &indexes) const;    virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action,                              int row, int column, const QModelIndex &parent);    virtual Qt::DropActions supportedDropActions() const;    Qt::DropActions supportedDragActions() const;    void setSupportedDragActions(Qt::DropActions);    virtual bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex());    virtual bool insertColumns(int column, int count, const QModelIndex &parent = QModelIndex());    virtual bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex());    virtual bool removeColumns(int column, int count, const QModelIndex &parent = QModelIndex());    inline bool insertRow(int row, const QModelIndex &parent = QModelIndex());    inline bool insertColumn(int column, const QModelIndex &parent = QModelIndex());    inline bool removeRow(int row, const QModelIndex &parent = QModelIndex());    inline bool removeColumn(int column, const QModelIndex &parent = QModelIndex());    virtual void fetchMore(const QModelIndex &parent);    virtual bool canFetchMore(const QModelIndex &parent) const;    virtual Qt::ItemFlags flags(const QModelIndex &index) const;    virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder);    virtual QModelIndex buddy(const QModelIndex &index) const;    virtual QModelIndexList match(const QModelIndex &start, int role,                                  const QVariant &value, int hits = 1,                                  Qt::MatchFlags flags =                                  Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const;    virtual QSize span(const QModelIndex &index) const;#ifdef Q_NO_USING_KEYWORD    inline QObject *parent() const { return QObject::parent(); }#else    using QObject::parent;#endifQ_SIGNALS:    void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);    void headerDataChanged(Qt::Orientation orientation, int first, int last);    void layoutChanged();    void layoutAboutToBeChanged();#if !defined(Q_MOC_RUN) && !defined(qdoc)private: // can only be emitted by QAbstractItemModel#endif    void rowsAboutToBeInserted(const QModelIndex &parent, int first, int last);    void rowsInserted(const QModelIndex &parent, int first, int last);    void rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last);    void rowsRemoved(const QModelIndex &parent, int first, int last);    void columnsAboutToBeInserted(const QModelIndex &parent, int first, int last);    void columnsInserted(const QModelIndex &parent, int first, int last);    void columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last);    void columnsRemoved(const QModelIndex &parent, int first, int last);    void modelAboutToBeReset();    void modelReset();public Q_SLOTS:    virtual bool submit();    virtual void revert();protected:    QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = 0);    inline QModelIndex createIndex(int row, int column, void *data = 0) const;    inline QModelIndex createIndex(int row, int column, int id) const;    inline QModelIndex createIndex(int row, int column, quint32 id) const;    void encodeData(const QModelIndexList &indexes, QDataStream &stream) const;    bool decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream);    void beginInsertRows(const QModelIndex &parent, int first, int last);    void endInsertRows();    void beginRemoveRows(const QModelIndex &parent, int first, int last);    void endRemoveRows();    void beginInsertColumns(const QModelIndex &parent, int first, int last);    void endInsertColumns();    void beginRemoveColumns(const QModelIndex &parent, int first, int last);    void endRemoveColumns();    void reset();    void changePersistentIndex(const QModelIndex &from, const QModelIndex &to);    void changePersistentIndexList(const QModelIndexList &from, const QModelIndexList &to);    QModelIndexList persistentIndexList() const;    private:    Q_DECLARE_PRIVATE(QAbstractItemModel)    Q_DISABLE_COPY(QAbstractItemModel)};inline bool QAbstractItemModel::insertRow(int arow, const QModelIndex &aparent){ return insertRows(arow, 1, aparent); }inline bool QAbstractItemModel::insertColumn(int acolumn, const QModelIndex &aparent){ return insertColumns(acolumn, 1, aparent); }inline bool QAbstractItemModel::removeRow(int arow, const QModelIndex &aparent){ return removeRows(arow, 1, aparent); }inline bool QAbstractItemModel::removeColumn(int acolumn, const QModelIndex &aparent){ return removeColumns(acolumn, 1, aparent); }inline QModelIndex QAbstractItemModel::createIndex(int arow, int acolumn, void *adata) const{ return QModelIndex(arow, acolumn, adata, this); }inline QModelIndex QAbstractItemModel::createIndex(int arow, int acolumn, int aid) const#if defined(Q_CC_MSVC)#pragma warning( push )#pragma warning( disable : 4312 ) // avoid conversion warning on 64-bit#endif{ return QModelIndex(arow, acolumn, reinterpret_cast<void*>(aid), this); }#if defined(Q_CC_MSVC)#pragma warning( pop )#endifinline QModelIndex QAbstractItemModel::createIndex(int arow, int acolumn, quint32 aid) const#if defined(Q_CC_MSVC)#pragma warning( push )#pragma warning( disable : 4312 ) // avoid conversion warning on 64-bit#endif{ return QModelIndex(arow, acolumn, reinterpret_cast<void*>(aid), this); }#if defined(Q_CC_MSVC)#pragma warning( pop )#endifclass Q_CORE_EXPORT QAbstractTableModel : public QAbstractItemModel{    Q_OBJECTpublic:    explicit QAbstractTableModel(QObject *parent = 0);    ~QAbstractTableModel();    QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;    bool dropMimeData(const QMimeData *data, Qt::DropAction action,                      int row, int column, const QModelIndex &parent);protected:    QAbstractTableModel(QAbstractItemModelPrivate &dd, QObject *parent);private:    Q_DISABLE_COPY(QAbstractTableModel)    QModelIndex parent(const QModelIndex &child) const;    bool hasChildren(const QModelIndex &parent) const;};class Q_CORE_EXPORT QAbstractListModel : public QAbstractItemModel{    Q_OBJECTpublic:    explicit QAbstractListModel(QObject *parent = 0);    ~QAbstractListModel();    QModelIndex index(int row, int column = 0, const QModelIndex &parent = QModelIndex()) const;    bool dropMimeData(const QMimeData *data, Qt::DropAction action,                      int row, int column, const QModelIndex &parent);protected:    QAbstractListModel(QAbstractItemModelPrivate &dd, QObject *parent);private:    Q_DISABLE_COPY(QAbstractListModel)    QModelIndex parent(const QModelIndex &child) const;    int columnCount(const QModelIndex &parent) const;    bool hasChildren(const QModelIndex &parent) const;};// inline implementationsinline QModelIndex::QModelIndex(int arow, int acolumn, void *adata,                                const QAbstractItemModel *amodel)    : r(arow), c(acolumn), p(adata), m(amodel) {}inline QModelIndex QModelIndex::parent() const{ return m ? m->parent(*this) : QModelIndex(); }inline QModelIndex QModelIndex::sibling(int arow, int acolumn) const{ return m ? m->index(arow, acolumn, m->parent(*this)) : QModelIndex(); }inline QModelIndex QModelIndex::child(int arow, int acolumn) const{ return m ? m->index(arow, acolumn, *this) : QModelIndex(); }inline QVariant QModelIndex::data(int arole) const{ return m ? m->data(*this, arole) : QVariant(); }inline Qt::ItemFlags QModelIndex::flags() const{ return m ? m->flags(*this) : Qt::ItemFlags(0); }inline uint qHash(const QModelIndex &index){ return uint((index.row() << 4) + index.column() + index.internalId()); }QT_END_HEADER#endif // QABSTRACTITEMMODEL_H

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区爱爱| 亚洲乱码日产精品bd| 成人免费在线播放视频| 日日摸夜夜添夜夜添精品视频| 国产精品538一区二区在线| 91黄视频在线| 国产精品成人网| 精品一二三四在线| 91精品麻豆日日躁夜夜躁| 亚洲欧洲www| 国产91精品一区二区| 欧美疯狂做受xxxx富婆| 一区二区在线电影| 99久久精品国产观看| 欧美国产精品劲爆| 国产精品一二三在| 日韩精品一区二区三区swag | 国产日韩综合av| 日韩电影在线一区二区三区| 91国产精品成人| 亚洲欧美另类图片小说| 99久久99久久精品免费观看| 久久久91精品国产一区二区精品| 美腿丝袜亚洲一区| 91麻豆精品国产91久久久更新时间 | 国产麻豆日韩欧美久久| 日韩区在线观看| 久久福利资源站| 欧美成人女星排行榜| 亚洲国产精品一区二区www| 在线亚洲精品福利网址导航| 一区二区三区日韩欧美| 色综合天天视频在线观看| 亚洲精品国久久99热| 91国内精品野花午夜精品| 亚洲精品成人精品456| 欧美色成人综合| 日本成人中文字幕在线视频| 欧美一级一级性生活免费录像| 亚欧色一区w666天堂| 日韩写真欧美这视频| 国产一区二区三区蝌蚪| 国产日韩精品一区二区三区在线| 处破女av一区二区| 亚洲乱码国产乱码精品精的特点| 91久久久免费一区二区| 亚洲综合丝袜美腿| 日韩一区二区三区三四区视频在线观看| 日韩精品五月天| 精品国偷自产国产一区| 成人精品一区二区三区四区| 国产精品不卡一区| 欧美日韩五月天| 国产真实乱对白精彩久久| 欧美韩国日本一区| 在线欧美一区二区| 精品午夜一区二区三区在线观看| 欧美激情一区在线| 精品视频一区二区不卡| 精品在线免费观看| 亚洲人午夜精品天堂一二香蕉| 欧美在线你懂的| 久久精品99国产精品| 中文字幕综合网| 日韩一区二区麻豆国产| www.亚洲激情.com| 蜜乳av一区二区三区| 欧美激情一区二区三区全黄| 欧美综合一区二区| 国产福利一区二区| 午夜婷婷国产麻豆精品| 久久久天堂av| 欧美女孩性生活视频| 色综合久久天天综合网| 久久精品国产精品亚洲综合| 亚洲少妇30p| 日韩欧美123| 欧美亚洲综合一区| 成人不卡免费av| 久草热8精品视频在线观看| 1区2区3区精品视频| 欧美va亚洲va| 欧美日本在线播放| 91在线观看视频| 国产精品资源在线观看| 日韩中文字幕不卡| 亚洲激情自拍视频| 中文字幕不卡一区| 精品美女被调教视频大全网站| 色婷婷av一区二区三区gif | 亚洲aⅴ怡春院| 国产精品久久毛片av大全日韩| 欧美电视剧免费全集观看| 一本到不卡免费一区二区| 精品一区二区三区久久| 五月天中文字幕一区二区| 亚洲精品视频一区二区| 国产精品久久一卡二卡| 久久久蜜桃精品| 日韩三级.com| 日韩欧美国产小视频| 欧美乱妇23p| 亚洲成人av电影在线| 亚洲自拍另类综合| 久久久久久一二三区| 一本久久精品一区二区| 亚洲一区二区精品久久av| 日韩一区二区电影| 亚洲一区二区av在线| 欧美一区二区播放| 成人在线综合网站| 日韩高清欧美激情| 亚洲人成7777| 国产亚洲人成网站| 麻豆精品一区二区三区| www.日本不卡| 午夜精品福利在线| 最新国产精品久久精品| 91久久精品一区二区三区| 亚洲一区二区三区在线播放| 精品日产卡一卡二卡麻豆| 一本高清dvd不卡在线观看| 色综合中文字幕国产 | 秋霞午夜av一区二区三区| 欧美午夜在线一二页| 丰满少妇在线播放bd日韩电影| 亚洲成精国产精品女| 国产亚洲欧美激情| 久久综合九色综合97婷婷女人| 在线观看免费视频综合| 国产精品正在播放| 国产一区二区三区四区在线观看| 成人美女视频在线观看| 精品一区二区三区久久| 蜜桃视频免费观看一区| 国产主播一区二区| av午夜精品一区二区三区| 一本到一区二区三区| 欧美人牲a欧美精品| 日韩免费视频一区二区| 欧美韩国一区二区| 亚洲国产wwwccc36天堂| 久久精品国产99久久6| 成人动漫中文字幕| 欧美亚洲综合久久| 欧美一区二区三区在线看 | 国产一区二区三区久久久| 成人小视频免费观看| 91国产丝袜在线播放| 日韩欧美一级片| 亚洲欧洲韩国日本视频| 日本少妇一区二区| 成人免费视频国产在线观看| 欧美性大战xxxxx久久久| 久久色在线视频| 一区二区三区欧美激情| 国产一区二区三区四区五区美女 | 最新国产成人在线观看| 日本aⅴ精品一区二区三区| 国产精品69毛片高清亚洲| 在线观看成人免费视频| 久久精品一区二区三区av| 午夜精品久久久久久久蜜桃app| 国产麻豆精品一区二区| 欧美亚洲一区二区三区四区| 久久久久久日产精品| 肉肉av福利一精品导航| 91啪亚洲精品| 国产色一区二区| 蜜臀av性久久久久蜜臀av麻豆| 成人av免费观看| 26uuu精品一区二区三区四区在线| 亚洲免费伊人电影| 国产一区二区三区黄视频| 欧美日韩成人激情| 亚洲精品欧美激情| 成人av手机在线观看| 国产婷婷色一区二区三区| 日韩不卡一区二区| 欧美日韩一级片在线观看| 亚洲视频小说图片| 国产成人综合亚洲网站| 欧美va在线播放| 美女www一区二区| 欧美日韩成人一区二区| 一卡二卡欧美日韩| av男人天堂一区| 欧美国产精品v| 成人免费av资源| 国产精品久久午夜| 波波电影院一区二区三区| 久久精品人人做人人爽97| 久久99精品久久久| 日韩亚洲欧美一区二区三区| 亚洲成人精品影院| 欧美日韩国产一二三| 午夜精品福利一区二区三区蜜桃| 欧美性猛片xxxx免费看久爱| 亚洲影视在线观看| 欧美日韩一区不卡|