Home
last modified time | relevance | path

Searched refs:totalCount (Results 1 – 17 of 17) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_core/
H A Dutils.js106 testCase.compare(model.totalCount, -1);
116 var totalCount = model.totalCount;
117 testCase.compare(totalCount, 5);
118 testCase.compare(visDataModel.items.count, Math.min(data.batchSize, totalCount));
123 while (visDataModel.items.count < totalCount) {
129 …testCase.tryCompare(visDataModel.items, "count", Math.min(totalCount, startIndex + data.batchSize)…
131 testCase.compare(model.totalCount, totalCount);
133 for (var i = startIndex; i < Math.min(totalCount, startIndex + data.batchSize); ++i)
150 testCase.verify(model.totalCount > 0);
177 testCase.compare(model.totalCount, data.expectedTotalCount);
H A Dtst_place.qml293 compare(emptyPlace.reviewModel.totalCount, -1);
294 compare(emptyPlace.imageModel.totalCount, -1);
295 compare(emptyPlace.editorialModel.totalCount, -1);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/places/
H A Dqplacecontentreply.cpp45 : totalCount(0) in QPlaceContentReplyPrivate()
49 int totalCount; member in QPlaceContentReplyPrivate
120 int QPlaceContentReply::totalCount() const in totalCount() function in QPlaceContentReply
123 return d->totalCount; in totalCount()
132 d->totalCount = total; in setTotalCount()
H A Dqplacecontentreply.h59 int totalCount() const;
H A Dqplace.cpp320 void QPlace::setTotalContentCount(QPlaceContent::Type type, int totalCount) in setTotalContentCount() argument
322 d_ptr->m_contentCounts.insert(type, totalCount); in setTotalContentCount()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/placesv2/
H A Dqplacedetailsreplyimpl.cpp281 int totalCount = 0; in replyFinished() local
285 &collection, &totalCount, 0, 0, m_engine); in replyFinished()
287 place.setTotalContentCount(QPlaceContent::ImageType, totalCount); in replyFinished()
292 int totalCount = 0; in replyFinished() local
296 &collection, &totalCount, 0, 0, m_engine); in replyFinished()
298 place.setTotalContentCount(QPlaceContent::EditorialType, totalCount); in replyFinished()
303 int totalCount = 0; in replyFinished() local
307 &collection, &totalCount, 0, 0, m_engine); in replyFinished()
309 place.setTotalContentCount(QPlaceContent::ReviewType, totalCount); in replyFinished()
H A Dqplacecontentreplyimpl.cpp96 int totalCount; in replyFinished() local
100 parseCollection(request().contentType(), object, &collection, &totalCount, in replyFinished()
103 setTotalCount(totalCount); in replyFinished()
H A Djsonparserhelpers.cpp197 QPlaceContent::Collection *collection, int *totalCount, in parseCollection() argument
203 if (totalCount) in parseCollection()
204 *totalCount = object.value(QStringLiteral("available")).toDouble(); in parseCollection()
H A Djsonparserhelpers.h72 QPlaceContent::Collection *collection, int *totalCount,
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativeplaces/
H A Dqdeclarativeplacecontentmodel_p.h71 Q_PROPERTY(int totalCount READ totalCount NOTIFY totalCountChanged)
85 int totalCount() const;
89 void initializeCollection(int totalCount, const QPlaceContent::Collection &collection);
H A Dqdeclarativeplacecontentmodel.cpp112 int QDeclarativePlaceContentModel::totalCount() const in totalCount() function in QDeclarativePlaceContentModel
145 void QDeclarativePlaceContentModel::initializeCollection(int totalCount, const QPlaceContent::Colle… in initializeCollection() argument
168 m_contentCount = totalCount; in initializeCollection()
170 if (initialCount != totalCount) in initializeCollection()
308 if (m_contentCount != reply->totalCount()) { in fetchFinished()
309 m_contentCount = reply->totalCount(); in fetchFinished()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/geotestplugin/
H A Dqplacemanagerengine_test.h402 int totalCount = 0; in getPlaceContent() local
405 totalCount = m_placeReviews.value(query.placeId()).count(); in getPlaceContent()
408 totalCount = m_placeImages.value(query.placeId()).count(); in getPlaceContent()
411 totalCount = m_placeEditorials.value(query.placeId()).count(); in getPlaceContent()
420 int max = (query.limit() == -1) ? totalCount in getPlaceContent()
421 : qMin(offset + query.limit(), totalCount); in getPlaceContent()
439 reply->setTotalCount(totalCount); in getPlaceContent()
441 if (max != totalCount) { in getPlaceContent()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/examples/location/places/forms/
H A DPlaceDetails.qml130 …rialsButton.enabled = Qt.binding(function(){ return place && place.editorialModel.totalCount > 0 })
131 … reviewsButton.enabled = Qt.binding(function(){ return place && place.reviewModel.totalCount > 0 })
132 … imagesButton.enabled = Qt.binding(function(){ return place && place.imageModel.totalCount > 0 })
/OK3568_Linux_fs/buildroot/dl/qt5location/git/examples/location/places/views/
H A DImageView.qml144 text: (listView.currentIndex + 1) + '/' + listView.model.totalCount
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/nokia_services/places_semiauto/
H A Dtst_places.cpp644 QVERIFY(contentReply->totalCount() > 0); in content()
646 if (contentReply->totalCount() >= 2) { in content()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/snippets/places/
H A Drequesthandler.h379 … place.setTotalContentCount(contentReply->request().contentType(), contentReply->totalCount()); in handleImagesReply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/imports/location/
H A Dplugins.qmltypes1378 Property { name: "totalCount"; type: "int"; isReadonly: true }