QKeySequence: remove docs of methods recently removed

Amends dccf28b7c3.

Change-Id: Ic4eeda8706b58fdff716e8f86a2bf7cc77ec0c7a
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Giuseppe D'Angelo 2020-04-19 18:07:52 +02:00 committed by Marc Mutz
parent 3aadbec516
commit 2eee9e6fcf

View File

@ -1385,18 +1385,6 @@ QKeySequence::SequenceMatch QKeySequence::matches(const QKeySequence &seq) const
return match; return match;
} }
/*! \fn QKeySequence::operator QString() const
\obsolete
Use toString() instead.
Returns the key sequence as a QString. This is equivalent to
calling toString(QKeySequence::NativeText). Note that the
result is not platform independent.
*/
/*! /*!
Returns the key sequence as a QVariant Returns the key sequence as a QVariant
*/ */
@ -1405,13 +1393,6 @@ QKeySequence::operator QVariant() const
return QVariant(QMetaType::QKeySequence, this); return QVariant(QMetaType::QKeySequence, this);
} }
/*! \fn QKeySequence::operator int () const
\obsolete
For backward compatibility: returns the first keycode
as integer. If the key sequence is empty, 0 is returned.
*/
/*! /*!
Returns a reference to the element at position \a index in the key Returns a reference to the element at position \a index in the key
sequence. This can only be used to read an element. sequence. This can only be used to read an element.