4#ifndef QQUICKCALENDARMODEL_P_H
5#define QQUICKCALENDARMODEL_P_H
18#include <QtCore/qabstractitemmodel.h>
19#include <QtCore/qdatetime.h>
20#include <QtQml/qqmlparserstatus.h>
21#include <QtQml/qqml.h>
22#include <QtCore/private/qglobal_p.h>
57 QHash<int, QByteArray>
roleNames()
const override;
QObject * parent() const
Returns a pointer to the parent object.
\inmodule QtCore \reentrant
The QQmlParserStatus class provides updates on the QML parser state.
Q_INVOKABLE int yearAt(int index) const
\qmlmethod int QtQuick.Controls::CalendarModel::yearAt(int index)
void classBegin() override
Invoked after class creation, but before any properties have been set.
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
Q_INVOKABLE int indexOf(QDate date) const
\qmlmethod int QtQuick.Controls::CalendarModel::indexOf(Date date)
int rowCount(const QModelIndex &parent=QModelIndex()) const override
Returns the number of rows under the given parent.
QHash< int, QByteArray > roleNames() const override
Q_INVOKABLE int monthAt(int index) const
\qmlmethod int QtQuick.Controls::CalendarModel::monthAt(int index)
Combined button and popup list for selecting options.
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)