54 Q_PROPERTY(
QString attribution READ attribution WRITE setAttribution NOTIFY attributionChanged)
60 Q_PROPERTY(
QObject *extendedAttributes READ extendedAttributes NOTIFY extendedAttributesChanged)
62 Q_PROPERTY(
bool detailsFetched READ detailsFetched NOTIFY detailsFetchedChanged)
68 Q_PROPERTY(
QUrl primaryWebsite READ primaryWebsite NOTIFY primaryWebsiteChanged)
90 void componentComplete()
override;
103 static void category_append(QQmlListProperty<QDeclarativeCategory> *prop,
105 static qsizetype category_count(QQmlListProperty<QDeclarativeCategory> *prop);
107 static void category_clear(QQmlListProperty<QDeclarativeCategory> *prop);
120 void setPlaceId(
const QString &placeId);
122 void setAttribution(
const QString &attribution);
123 bool detailsFetched()
const;
136 QUrl primaryWebsite()
const;
181 void cleanupDeletedCategories();
183 void synchronizeCategories();
184 void pullExtendedAttributes();
185 void synchronizeContacts();
192 QList<QDeclarativeCategory *> m_categories;
205 bool m_complete =
false;
210 QUrl m_prevPrimaryWebsite;
217 QList<QDeclarativeCategory *>m_categoriesToBeDeleted;