Remove deprecated method QTextList::isEmpty()

Change-Id: I7acc0bb110c2bed55374576f59c24451afa7742a
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Marcel Krems 2020-08-31 03:10:41 +02:00
parent 13fe0ab5de
commit e14e46ccd6
2 changed files with 0 additions and 20 deletions

View File

@ -100,20 +100,6 @@ public:
\sa QTextBlock, QTextListFormat, QTextCursor \sa QTextBlock, QTextListFormat, QTextCursor
*/ */
#if QT_DEPRECATED_SINCE(5, 13)
/*!
\fn bool QTextList::isEmpty() const
\obsolete
Returns \c true if the list has no items; otherwise returns \c false.
\b{Note:} Empty lists are automatically deleted by the QTextDocument that owns
them.
\sa count()
*/
#endif
/*! \internal /*! \internal
*/ */
QTextList::QTextList(QTextDocument *doc) QTextList::QTextList(QTextDocument *doc)

View File

@ -59,12 +59,6 @@ public:
int count() const; int count() const;
#if QT_DEPRECATED_SINCE(5, 13)
QT_DEPRECATED_X("Use count() instead")
inline bool isEmpty() const
{ return count() == 0; }
#endif
QTextBlock item(int i) const; QTextBlock item(int i) const;
int itemNumber(const QTextBlock &) const; int itemNumber(const QTextBlock &) const;