27 #ifndef __vtkQtDebugLeaksModel_h
28 #define __vtkQtDebugLeaksModel_h
30 #include "vtkGUISupportQtModule.h"
31 #include "QVTKWin32Header.h"
32 #include <QStandardItemModel>
46 QList<vtkObjectBase*> getObjects(
const QString& className);
52 QStandardItemModel* referenceCountModel(
const QString& className);
56 void addObject(vtkObjectBase*
object);
57 void removeObject(vtkObjectBase*
object);
58 void registerObject(vtkObjectBase*
object);
59 void processPendingObjects();
63 virtual Qt::ItemFlags flags(
const QModelIndex &index)
const;
91 virtual Qt::ItemFlags
flags(
const QModelIndex &index)
const;
model class that observes the vtkDebugLeaks singleton
void removeObject(vtkObjectBase *obj)
void updateReferenceCounts()
QString pointerAsString(void *ptr)
ReferenceCountModel(QObject *p=0)
void addObject(vtkObjectBase *obj)
virtual Qt::ItemFlags flags(const QModelIndex &index) const