// HQDeleter.h - public interface of the HOOPS/Qt class HQDeleter
// More about this class
 

#ifndef HQDELETER_H
#define HQDELETER_H

// Qt inlcudes
#include <qobject.h>
#include <qintdict.h>
#include <qevent.h>
#include <qapplication.h>

class HQDeleter: public QObject 
{
 Q_OBJECT

public:

 HQDeleter(QObject * parent=0, const char * name=0);
 ~HQDeleter();

 void processDeletes();
 void deleteLater(QObject * o);

 bool event(QEvent * e);

public slots:

 void detectOtherDelete();

private:

 QIntDict<QObject> *objects;

};
 

#endif