Remove deprecated method QTextList::isEmpty()
Change-Id: I7acc0bb110c2bed55374576f59c24451afa7742a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
13fe0ab5de
commit
e14e46ccd6
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user