1 #ifndef _PYINTERP_WATCHER_H_
2 #define _PYINTERP_WATCHER_H_
6 #include <PyInterp_Dispatcher.h>
10 // Private class that keeps track of destructions of request listeners
11 class PYINTERP_EXPORT PyInterp_Watcher : public QObject
16 PyInterp_Watcher() : QObject( 0 ) {}
17 virtual ~PyInterp_Watcher() {}
20 void onDestroyed( QObject* o ) { PyInterp_Dispatcher::Get()->objectDestroyed( o ); }
23 #endif // _PYINTERP_WATCHER_H_