diff --git a/src/gui/text/qtextlist.cpp b/src/gui/text/qtextlist.cpp index a055eaa579..c9bbe687b2 100644 --- a/src/gui/text/qtextlist.cpp +++ b/src/gui/text/qtextlist.cpp @@ -100,20 +100,6 @@ public: \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 */ QTextList::QTextList(QTextDocument *doc) diff --git a/src/gui/text/qtextlist.h b/src/gui/text/qtextlist.h index cfb9f9456f..fa945c31fd 100644 --- a/src/gui/text/qtextlist.h +++ b/src/gui/text/qtextlist.h @@ -59,12 +59,6 @@ public: 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; int itemNumber(const QTextBlock &) const;