47 #ifndef VTK_EVENT_QT_SLOT_CONNECT
48 #define VTK_EVENT_QT_SLOT_CONNECT
50 #include "vtkGUISupportQtModule.h"
51 #include "vtkObject.h"
52 #include "vtkCommand.h"
53 #include "QVTKWin32Header.h"
54 #include <QtCore/QObject>
57 class vtkQtConnections;
68 void PrintSelf(ostream& os, vtkIndent indent);
74 virtual
void Connect(vtkObject* vtk_obj,
unsigned long event,
75 const QObject* qt_obj, const
char* slot,
76 void* client_data=NULL,
float priority=0.0
77 ,Qt::ConnectionType type = Qt::AutoConnection);
86 virtual
void Disconnect(
87 vtkObject* vtk_obj=NULL,
unsigned long event=vtkCommand::NoEvent,
88 const QObject* qt_obj=NULL, const
char* slot = 0,
void* client_data=NULL);
93 virtual
int GetNumberOfConnections() const;
96 vtkQtConnections* Connections;
98 void RemoveConnection(vtkQtConnection*);
106 void operator=(const vtkEventQtSlotConnect&);
Manage connections between VTK events and Qt slots.