4 #ifndef pqInterfaceTracker_h
5 #define pqInterfaceTracker_h
7 #include "pqCoreModule.h"
22 typedef QObject Superclass;
31 QObjectList
interfaces()
const {
return this->Interfaces + this->RegisteredInterfaces; }
41 QObjectList objList = this->interfaces();
42 Q_FOREACH (QObject*
object, objList)
44 if (
object && qobject_cast<T>(
object))
46 list.push_back(qobject_cast<T>(
object));
56 void addInterface(QObject* iface);
61 void removeInterface(QObject* iface);
72 void interfaceRegistered(QObject* iface);
79 void onPluginLoaded(
vtkObject*,
unsigned long,
void* calldata);