QTypeInfo: move QLinkedlist declaration to qlinkedlist.h
This is in preparation of deprecating QLinkedList. Change-Id: Id5018b7fbc89f8b76b86e97cd09d18b4b8cb6234 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
8b9ea7232a
commit
969e60e075
@ -213,7 +213,6 @@ Q_DECLARE_MOVABLE_CONTAINER(QList);
|
||||
Q_DECLARE_MOVABLE_CONTAINER(QVector);
|
||||
Q_DECLARE_MOVABLE_CONTAINER(QQueue);
|
||||
Q_DECLARE_MOVABLE_CONTAINER(QStack);
|
||||
Q_DECLARE_MOVABLE_CONTAINER(QLinkedList);
|
||||
Q_DECLARE_MOVABLE_CONTAINER(QSet);
|
||||
|
||||
#undef Q_DECLARE_MOVABLE_CONTAINER
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include <QtCore/qrefcount.h>
|
||||
#include <QtCore/qcontainertools_impl.h>
|
||||
#include <QtCore/qdatastream.h>
|
||||
#include <QtCore/qtypeinfo.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <initializer_list>
|
||||
@ -267,6 +268,8 @@ private:
|
||||
iterator detach_helper2(iterator);
|
||||
void freeData(QLinkedListData*);
|
||||
};
|
||||
template <typename T>
|
||||
Q_DECLARE_TYPEINFO_BODY(QLinkedList<T>, Q_MOVABLE_TYPE|Q_RELOCATABLE_TYPE);
|
||||
|
||||
template <typename T>
|
||||
inline QLinkedList<T>::~QLinkedList()
|
||||
|
Loading…
Reference in New Issue
Block a user