| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_core/ |
| H A D | utils.js | 106 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 D | tst_place.qml | 293 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 D | qplacecontentreply.cpp | 45 : 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 D | qplacecontentreply.h | 59 int totalCount() const;
|
| H A D | qplace.cpp | 320 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 D | qplacedetailsreplyimpl.cpp | 281 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 D | qplacecontentreplyimpl.cpp | 96 int totalCount; in replyFinished() local 100 parseCollection(request().contentType(), object, &collection, &totalCount, in replyFinished() 103 setTotalCount(totalCount); in replyFinished()
|
| H A D | jsonparserhelpers.cpp | 197 QPlaceContent::Collection *collection, int *totalCount, in parseCollection() argument 203 if (totalCount) in parseCollection() 204 *totalCount = object.value(QStringLiteral("available")).toDouble(); in parseCollection()
|
| H A D | jsonparserhelpers.h | 72 QPlaceContent::Collection *collection, int *totalCount,
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativeplaces/ |
| H A D | qdeclarativeplacecontentmodel_p.h | 71 Q_PROPERTY(int totalCount READ totalCount NOTIFY totalCountChanged) 85 int totalCount() const; 89 void initializeCollection(int totalCount, const QPlaceContent::Collection &collection);
|
| H A D | qdeclarativeplacecontentmodel.cpp | 112 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 D | qplacemanagerengine_test.h | 402 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 D | PlaceDetails.qml | 130 …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 D | ImageView.qml | 144 text: (listView.currentIndex + 1) + '/' + listView.model.totalCount
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/nokia_services/places_semiauto/ |
| H A D | tst_places.cpp | 644 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 D | requesthandler.h | 379 … place.setTotalContentCount(contentReply->request().contentType(), contentReply->totalCount()); in handleImagesReply()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/imports/location/ |
| H A D | plugins.qmltypes | 1378 Property { name: "totalCount"; type: "int"; isReadonly: true }
|