Apply some code cosmetics to iterables
Change-Id: I552eca017d5a473ea91ca43d0a0459ef2e8288b2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
c39878dd30
commit
eda30d1986
@ -101,7 +101,7 @@ public:
|
|||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
QAssociativeIterable(const T *p)
|
QAssociativeIterable(const T *p)
|
||||||
: QIterable(QMetaAssociation::fromContainer<T>(), p)
|
: QIterable(QMetaAssociation::fromContainer<T>(), p)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -122,15 +122,15 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
QAssociativeIterable(const QMetaAssociation &metaSequence, const QMetaType &metaType,
|
QAssociativeIterable(const QMetaAssociation &metaAssociation, const QMetaType &metaType,
|
||||||
void *iterable)
|
void *iterable)
|
||||||
: QIterable(metaSequence, metaType.alignOf(), iterable)
|
: QIterable(metaAssociation, metaType.alignOf(), iterable)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
QAssociativeIterable(const QMetaAssociation &metaSequence, const QMetaType &metaType,
|
QAssociativeIterable(const QMetaAssociation &metaAssociation, const QMetaType &metaType,
|
||||||
const void *iterable)
|
const void *iterable)
|
||||||
: QIterable(metaSequence, metaType.alignOf(), iterable)
|
: QIterable(metaAssociation, metaType.alignOf(), iterable)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ public:
|
|||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
QSequentialIterable(const T *p)
|
QSequentialIterable(const T *p)
|
||||||
: QIterable(QMetaSequence::fromContainer<T>(), p)
|
: QIterable(QMetaSequence::fromContainer<T>(), p)
|
||||||
{
|
{
|
||||||
Q_UNUSED(m_revision);
|
Q_UNUSED(m_revision);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user