Home
last modified time | relevance | path

Searched refs:QModelIndex (Results 1 – 25 of 66) sorted by relevance

123

/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/browser/
H A Dhistory.h149 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
150 int columnCount(const QModelIndex &parent = QModelIndex()) const;
151 int rowCount(const QModelIndex &parent = QModelIndex()) const;
152 bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex());
174 QModelIndex mapFromSource(const QModelIndex &sourceIndex) const;
175 QModelIndex mapToSource(const QModelIndex &proxyIndex) const;
178 int rowCount(const QModelIndex &parent = QModelIndex()) const;
179 int columnCount(const QModelIndex &parent = QModelIndex()) const;
180 QModelIndex index(int, int, const QModelIndex& = QModelIndex()) const;
181 QModelIndex parent(const QModelIndex& index= QModelIndex()) const;
[all …]
H A Dhistory.cpp381 beginInsertRows(QModelIndex(), 0, 0); in entryAdded()
387 QModelIndex idx = index(offset, 0); in entryUpdated()
403 QVariant HistoryModel::data(const QModelIndex &index, int role) const in data()
443 int HistoryModel::columnCount(const QModelIndex &parent) const in columnCount()
448 int HistoryModel::rowCount(const QModelIndex &parent) const in rowCount()
453 bool HistoryModel::removeRows(int row, int count, const QModelIndex &parent) in removeRows()
483 QModelIndex first = m_treeModel->index(0, 0); in bumpedRows()
489 int HistoryMenuModel::columnCount(const QModelIndex &parent) const in columnCount()
494 int HistoryMenuModel::rowCount(const QModelIndex &parent) const in rowCount()
513 QModelIndex idx = mapToSource(parent); in rowCount()
[all …]
H A Dbookmarks.h163 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
164 int columnCount(const QModelIndex &parent = QModelIndex()) const;
165 int rowCount(const QModelIndex &parent = QModelIndex()) const;
166 QModelIndex index(int, int, const QModelIndex& = QModelIndex()) const;
167 QModelIndex parent(const QModelIndex& index= QModelIndex()) const;
168 Qt::ItemFlags flags(const QModelIndex &index) const;
170 bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex());
171 bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
175 Qt::DropAction action, int row, int column, const QModelIndex &parent);
176 bool hasChildren(const QModelIndex &parent = QModelIndex()) const;
[all …]
H A Dcookiejar.h128 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
129 int columnCount(const QModelIndex &parent = QModelIndex()) const;
130 int rowCount(const QModelIndex &parent = QModelIndex()) const;
131 bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex());
162 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
163 int columnCount(const QModelIndex &parent = QModelIndex()) const;
164 int rowCount(const QModelIndex &parent = QModelIndex()) const;
165 bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex());
H A Dmodelmenu.cpp90 void ModelMenu::setRootIndex(const QModelIndex &index) in setRootIndex()
95 QModelIndex ModelMenu::rootIndex() const in rootIndex()
120 Q_DECLARE_METATYPE(QModelIndex) in Q_DECLARE_METATYPE() argument
125 if (v.canConvert<QModelIndex>()) { in Q_DECLARE_METATYPE()
126 QModelIndex idx = qvariant_cast<QModelIndex>(v); in Q_DECLARE_METATYPE()
143 void ModelMenu::createMenu(const QModelIndex &parent, int max, QMenu *parentMenu, QMenu *menu) in createMenu()
166 QModelIndex idx = m_model->index(i, 0, parent); in createMenu()
181 QAction *ModelMenu::makeAction(const QModelIndex &index) in makeAction()
203 if (v.canConvert<QModelIndex>()) { in triggered()
204 QModelIndex idx = qvariant_cast<QModelIndex>(v); in triggered()
[all …]
H A Dbookmarks.cpp365 QModelIndex BookmarksModel::index(BookmarkNode *node) const in index()
369 return QModelIndex(); in index()
396 QModelIndex idx = index(item); in entryChanged()
400 bool BookmarksModel::removeRows(int row, int count, const QModelIndex &parent) in removeRows()
432 QVariant BookmarksModel::data(const QModelIndex &index, int role) const in data()
476 int BookmarksModel::columnCount(const QModelIndex &parent) const in columnCount()
481 int BookmarksModel::rowCount(const QModelIndex &parent) const in rowCount()
493 QModelIndex BookmarksModel::index(int row, int column, const QModelIndex &parent) const in index()
496 return QModelIndex(); in index()
503 QModelIndex BookmarksModel::parent(const QModelIndex &index) const in parent()
[all …]
H A Dmodelmenu.h46 void activated(const QModelIndex &index);
61 void setRootIndex(const QModelIndex &index);
62 QModelIndex rootIndex() const;
78 void createMenu(const QModelIndex &parent, int max, QMenu *parentMenu = 0, QMenu *menu = 0);
86 QAction *makeAction(const QModelIndex &index);
H A Ddownloadmanager.h144 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
145 int rowCount(const QModelIndex &parent = QModelIndex()) const;
146 bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex());
H A Dcookiejar.cpp410 QVariant CookieModel::data(const QModelIndex &index, int role) const in data()
447 int CookieModel::columnCount(const QModelIndex &parent) const in columnCount()
452 int CookieModel::rowCount(const QModelIndex &parent) const in rowCount()
457 bool CookieModel::removeRows(int row, int count, const QModelIndex &parent) in removeRows()
556 QVariant CookieExceptionsModel::data(const QModelIndex &index, int role) const in data()
601 int CookieExceptionsModel::columnCount(const QModelIndex &parent) const in columnCount()
606 int CookieExceptionsModel::rowCount(const QModelIndex &parent) const in rowCount()
611 bool CookieExceptionsModel::removeRows(int row, int count, const QModelIndex &parent) in removeRows()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativeplaces/
H A Dqdeclarativesupportedcategoriesmodel.cpp163 int QDeclarativeSupportedCategoriesModel::rowCount(const QModelIndex &parent) const in rowCount()
180 int QDeclarativeSupportedCategoriesModel::columnCount(const QModelIndex &parent) const in columnCount()
190 QModelIndex QDeclarativeSupportedCategoriesModel::index(int row, int column, const QModelIndex &par… in index()
193 return QModelIndex(); in index()
200 return QModelIndex(); in index()
203 return QModelIndex(); in index()
214 QModelIndex QDeclarativeSupportedCategoriesModel::parent(const QModelIndex &child) const in parent()
218 return QModelIndex(); in parent()
226 QVariant QDeclarativeSupportedCategoriesModel::data(const QModelIndex &index, int role) const in data()
380 QModelIndex parentIndex = index(parentId); in addedCategory()
[all …]
H A Dqdeclarativesupportedcategoriesmodel_p.h101 int rowCount(const QModelIndex &parent) const;
102 int columnCount(const QModelIndex &parent) const;
104 QModelIndex index(int row, int column, const QModelIndex &parent) const;
105 QModelIndex parent(const QModelIndex &child) const;
107 Q_INVOKABLE QVariant data(const QModelIndex &index, int role) const;
147 QModelIndex index(const QString &categoryId) const;
H A Dqdeclarativeplacecontentmodel.cpp86 fetchMore(QModelIndex()); in setPlace()
179 int QDeclarativePlaceContentModel::rowCount(const QModelIndex &parent) const in rowCount()
190 QVariant QDeclarativePlaceContentModel::data(const QModelIndex &index, int role) const in data()
224 bool QDeclarativePlaceContentModel::canFetchMore(const QModelIndex &parent) const in canFetchMore()
241 void QDeclarativePlaceContentModel::fetchMore(const QModelIndex &parent) in fetchMore()
292 fetchMore(QModelIndex()); in componentComplete()
336 beginInsertRows(QModelIndex(),startIndex,currentIndex); in fetchFinished()
386 fetchMore(QModelIndex()); in fetchFinished()
H A Dqdeclarativeplacecontentmodel_p.h92 int rowCount(const QModelIndex &parent) const;
93 QVariant data(const QModelIndex &index, int role) const;
103 bool canFetchMore(const QModelIndex &parent) const;
104 void fetchMore(const QModelIndex &parent);
H A Dqdeclarativesearchsuggestionmodel_p.h80 int rowCount(const QModelIndex &parent) const;
81 QVariant data(const QModelIndex &index, int role) const;
H A Dqdeclarativesearchresultmodel_p.h120 int rowCount(const QModelIndex &parent = QModelIndex()) const override;
123 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
H A Dqdeclarativesearchsuggestionmodel.cpp277 int QDeclarativeSearchSuggestionModel::rowCount(const QModelIndex &parent) const in rowCount()
287 QVariant QDeclarativeSearchSuggestionModel::data(const QModelIndex &index, int role) const in data()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/wifi/
H A Dwifiview.h15 const QModelIndex &index) const ;
17 const QModelIndex &index) const ;
31 int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
32 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
33 bool canFetchMore(const QModelIndex &parent) const;
34 void fetchMore(const QModelIndex &parent);
H A Dwifiview.cpp17 …egate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const in paint()
98 QSize WifiItemDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const in sizeHint()
173 int WifiModel::rowCount(const QModelIndex &parent) const in rowCount()
179 QVariant WifiModel::data(const QModelIndex &index, int role) const in data()
202 bool WifiModel::canFetchMore(const QModelIndex &parent) const in canFetchMore()
208 void WifiModel::fetchMore(const QModelIndex &parent) in fetchMore()
213 beginInsertRows(QModelIndex(), m_fixCount, m_fixCount+itemsToFetch-1); in fetchMore()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/database/
H A Dbookdelegate.h67 const QModelIndex &index) const override; in QT_FORWARD_DECLARE_CLASS()
70 const QModelIndex &index) const override; in QT_FORWARD_DECLARE_CLASS()
74 const QModelIndex &index) override; in QT_FORWARD_DECLARE_CLASS()
77 const QModelIndex &index) const override; in QT_FORWARD_DECLARE_CLASS()
H A Dbookdelegate.cpp61 const QModelIndex &index) const in paint()
102 const QModelIndex &index) const in sizeHint()
112 const QModelIndex &index) in editorEvent()
131 const QModelIndex &index) const in createEditor()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/imports/location/
H A Dplugins.qmltypes33 Parameter { name: "topLeft"; type: "QModelIndex" }
34 Parameter { name: "bottomRight"; type: "QModelIndex" }
39 Parameter { name: "topLeft"; type: "QModelIndex" }
40 Parameter { name: "bottomRight"; type: "QModelIndex" }
70 Parameter { name: "parent"; type: "QModelIndex" }
76 Parameter { name: "parent"; type: "QModelIndex" }
82 Parameter { name: "parent"; type: "QModelIndex" }
88 Parameter { name: "parent"; type: "QModelIndex" }
94 Parameter { name: "parent"; type: "QModelIndex" }
100 Parameter { name: "parent"; type: "QModelIndex" }
[all …]
/OK3568_Linux_fs/app/forlinx/DWKeyboard/include/
H A Dselectionlistmodel.h65 int rowCount(const QModelIndex &parent = QModelIndex()) const;
66 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/camera/CameraUI/src/
H A Dslave_picturewidget.cpp63 …connect(ui->listWidget_file,SIGNAL(clicked(QModelIndex)),this,SLOT(show_big_picture(QModelIndex))); in slave_PictureWidget()
70 void slave_PictureWidget::show_big_picture(QModelIndex pos) in show_big_picture()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/examples/positioning/satelliteinfo/
H A Dsatellitemodel.h83 int rowCount(const QModelIndex &parent) const; in QT_FORWARD_DECLARE_CLASS()
84 QVariant data(const QModelIndex &index, int role) const; in QT_FORWARD_DECLARE_CLASS()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/plugins/declarativetestplugin/
H A Dqdeclarativelocationtestmodel_p.h77 virtual int rowCount(const QModelIndex &parent) const;
78 virtual QVariant data(const QModelIndex &index, int role) const;

123