4 #ifndef pqInterfaceTracker_h 5 #define pqInterfaceTracker_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);
QObjectList RegisteredInterfaces
QObjectList interfaces() const
Return all interfaces that have been loaded/registered.
QList< T > interfaces() const
Returns all interfaces that have been loaded/registered that are of the requested type...
pqInterfaceTracker is used by ParaView components to locate interface-implementations.