4#ifndef QDECLARATIVESUPPORTEDCATEGORIESMODEL_H
5#define QDECLARATIVESUPPORTEDCATEGORIESMODEL_H
18#include <QtLocation/private/qlocationglobal_p.h>
19#include <QtLocation/private/qdeclarativegeoserviceprovider_p.h>
22#include <QtCore/QStringList>
23#include <QtCore/QSharedPointer>
24#include <QAbstractListModel>
25#include <QQmlListProperty>
26#include <QtQml/QQmlParserStatus>
28#include <QtLocation/QPlaceCategory>
30#include <QtLocation/private/qdeclarativecategory_p.h>
47 Q_PROPERTY(
bool hierarchical READ hierarchical WRITE setHierarchical NOTIFY hierarchicalChanged)
81 void setHierarchical(
bool hierarchical);
82 bool hierarchical()
const;
86 Status status()
const;
87 void setStatus(Status status,
const QString &errorString =
QString());
103 void removedCategory(
const QString &categoryId,
const QString &parentId);
104 void connectNotificationSignals();
107 struct PlaceCategoryNode
123 bool m_hierarchical =
true;
124 bool m_complete =
false;
Q_INVOKABLE int const QModelIndex & parent
Returns the parent of the model item with the given index.
void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList< int > &roles=QList< int >())
This signal is emitted whenever the data in an existing item changes.
virtual Q_INVOKABLE int rowCount(const QModelIndex &parent=QModelIndex()) const =0
Returns the number of rows under the given parent.
virtual QHash< int, QByteArray > roleNames() const
virtual Q_INVOKABLE int columnCount(const QModelIndex &parent=QModelIndex()) const =0
Returns the number of columns for the children of the given parent.
void hierarchicalChanged()
void classBegin() override
Invoked after class creation, but before any properties have been set.
The QQmlParserStatus class provides updates on the QML parser state.
virtual void componentComplete()=0
Invoked after the root component that caused this instantiation has completed construction.
\macro QT_RESTRICTED_CAST_FROM_ASCII
const QLoggingCategory & category()
[1]
void statusChanged(QDeclarativeComponent::Status status)
[1]
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row
#define QML_DECLARE_TYPE(TYPE)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
void replyFinished(QNetworkReply *reply)
[1]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent