Obsolete Members for QTextList

The following members of class QTextList are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

公有函数

(obsolete) bool isEmpty() const
  • 2 个公有函数继承自 QObject

成员函数

bool QTextList::isEmpty() const

Returns true if the list has no items; otherwise returns false.

Note: Empty lists are automatically deleted by the QTextDocument that owns them.

参见 count().