64 cleanupObjects.
insert(0,
object);
91 return cleanupObjects.
isEmpty();
102 while (!cleanupObjects.
isEmpty())
106void QObjectCleanupHandler::objectDestroyed(
QObject *
object)
113#include "moc_qobjectcleanuphandler.cpp"
bool isEmpty() const noexcept
void removeAt(qsizetype i)
iterator insert(qsizetype i, parameter_type t)
bool isEmpty() const
Returns true if this cleanup handler is empty or if all objects in this cleanup handler have been des...
QObject * add(QObject *object)
Adds object to this cleanup handler and returns the pointer to the object.
~QObjectCleanupHandler()
Destroys the cleanup handler.
void clear()
Deletes all objects in this cleanup handler.
void remove(QObject *object)
Removes the object from this cleanup handler.
QObjectCleanupHandler()
Constructs an empty QObjectCleanupHandler.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
void destroyed(QObject *=nullptr)
This signal is emitted immediately before the object obj is destroyed, after any instances of QPointe...
Combined button and popup list for selecting options.
myObject disconnect()
[26]
qsizetype indexOf(const AT &t, qsizetype from=0) const noexcept