#ifndef __ctkTestWrappedQListOfVTKObject_h #define __ctkTestWrappedQListOfVTKObject_h // Qt includes #include #include // VTK includes #include class ctkTestWrappedQListOfVTKObject : public QObject { Q_OBJECT public: ctkTestWrappedQListOfVTKObject(QObject * newParent = 0) : QObject(newParent) { } /// Example ot slot accepting a VTK object as parameter Q_INVOKABLE int numberOfElementInList(const QList& listOfTable) { return listOfTable.count(); } }; #endif