KDE3Support
Go to the documentation of this file.
26 #include <QtCore/QList>
27 #include <QtCore/QCoreApplication>
31 struct K3StaticDeleterPrivate
33 K3StaticDeleterPrivate()
37 ~K3StaticDeleterPrivate()
51 if (staticDeleterPrivate.isDestroyed()) {
54 K3StaticDeleterPrivate *d = staticDeleterPrivate;
55 while (!d->staticDeleters.isEmpty()) {
56 d->staticDeleters.takeLast()->destructObject();
62 K3StaticDeleterPrivate *d = staticDeleterPrivate;
63 if (d->staticDeleters.indexOf(obj) == -1) {
64 d->staticDeleters.append(obj);
70 if (staticDeleterPrivate.isDestroyed()) {
73 staticDeleterPrivate->staticDeleters.removeAll(obj);
78 staticDeleterPrivate->deleteStaticDeleters();
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Mon Jul 15 2013 05:14:51 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.