diff options
Diffstat (limited to 'src/corelib/text/qregularexpression.cpp')
-rw-r--r-- | src/corelib/text/qregularexpression.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/corelib/text/qregularexpression.cpp b/src/corelib/text/qregularexpression.cpp index beba74021b..1ca1cadaa3 100644 --- a/src/corelib/text/qregularexpression.cpp +++ b/src/corelib/text/qregularexpression.cpp @@ -1363,12 +1363,24 @@ QRegularExpression::QRegularExpression(const QRegularExpression &re) } /*! + \fn QRegularExpression::QRegularExpression(QRegularExpression &&re) + + Constructs a QRegularExpression object by moving from \a re. + + \since 6.0 + + \sa operator= +*/ + +/*! Destroys the QRegularExpression object. */ QRegularExpression::~QRegularExpression() { } +QT_DEFINE_QESDP_SPECIALIZATION_DTOR(QRegularExpressionPrivate) + /*! Assigns the regular expression \a re to this object, and returns a reference to the copy. Both the pattern and the pattern options are copied. @@ -2018,6 +2030,8 @@ QRegularExpressionMatch::~QRegularExpressionMatch() { } +QT_DEFINE_QSDP_SPECIALIZATION_DTOR(QRegularExpressionMatchPrivate) + /*! Constructs a match result by copying the result of the given \a match. @@ -2029,6 +2043,16 @@ QRegularExpressionMatch::QRegularExpressionMatch(const QRegularExpressionMatch & } /*! + \fn QRegularExpressionMatch::QRegularExpressionMatch(QRegularExpressionMatch &&re) + + Constructs a match result by moving from the given \a match. + + \since 6.0 + + \sa operator=() +*/ + +/*! Assigns the match result \a match to this object, and returns a reference to the copy. */ @@ -2450,6 +2474,8 @@ QRegularExpressionMatchIterator::~QRegularExpressionMatchIterator() { } +QT_DEFINE_QSDP_SPECIALIZATION_DTOR(QRegularExpressionMatchIteratorPrivate) + /*! Constructs a QRegularExpressionMatchIterator object as a copy of \a iterator. @@ -2462,6 +2488,17 @@ QRegularExpressionMatchIterator::QRegularExpressionMatchIterator(const QRegularE } /*! + \fn QRegularExpressionMatchIterator::QRegularExpressionMatchIterator(QRegularExpressionMatchIterator &&iterator) + + Constructs a QRegularExpressionMatchIterator object by moving from \a + iterator. + + \since 6.0 + + \sa operator=() +*/ + +/*! Assigns the iterator \a iterator to this object, and returns a reference to the copy. */ |