9 void setDateFormatString(
const QString &formatString)
11 m_formatString = formatString;
21 return dateTime.toString(m_formatString);
virtual Q_INVOKABLE QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const =0
Returns the data stored under the given role for the item referred to by the index.
QAbstractItemModel * sourceModel
the source model of this proxy model.
\inmodule QtCore\reentrant
The QIdentityProxyModel class proxies its source model unmodified.
\macro QT_RESTRICTED_CAST_FROM_ASCII
QDateTime toDateTime() const
Returns the variant as a QDateTime if the variant has userType() \l QMetaType::QDateTime,...