From 0b2bd6be6c1c4a97209078e22cac68b61bedd9f5 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Fri, 28 Mar 2014 08:40:20 +0100 Subject: QStringList: add move ctor from QList MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I93fe4656c1a608ccc828bd9db528d4597a22f070 Reviewed-by: Jędrzej Nowacki Reviewed-by: Thiago Macieira --- src/corelib/tools/qstringlist.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/corelib/tools/qstringlist.cpp') diff --git a/src/corelib/tools/qstringlist.cpp b/src/corelib/tools/qstringlist.cpp index c735fbcc42..0d37b6ea58 100644 --- a/src/corelib/tools/qstringlist.cpp +++ b/src/corelib/tools/qstringlist.cpp @@ -203,6 +203,16 @@ QT_BEGIN_NAMESPACE \sa operator=() */ +/*! + \fn QStringList::QStringList(QList &&other) + \overload + \since 5.4 + + Move-constructs from QList. + + After a successful construction, \a other will be empty. +*/ + /*! \fn QStringList &QStringList::operator=(const QList &other) \since 5.4 -- cgit v1.2.3