#include <QtCore/qobjectcleanuphandler.h>
#ifndef QOBJECTCLEANUPHANDLER_H
class QObjectCleanupHandler: public QObject{
   /* Some contents are skipped to improve readability */
   public: void remove(class QObject* object);
   /* ... */
};
#endif // QOBJECTCLEANUPHANDLER_H