#ifndef PYTHONQTWRAPPER_QFILESYSTEMWATCHER_H #define PYTHONQTWRAPPER_QFILESYSTEMWATCHER_H #include #include #include #include #include #include #include #include #include #include class PythonQtShell_QFileSystemWatcher : public QFileSystemWatcher { public: PythonQtShell_QFileSystemWatcher(QObject* parent = 0):QFileSystemWatcher(parent),_wrapper(NULL) {}; PythonQtShell_QFileSystemWatcher(const QStringList& paths, QObject* parent = 0):QFileSystemWatcher(paths, parent),_wrapper(NULL) {}; virtual void childEvent(QChildEvent* arg__1); virtual void customEvent(QEvent* arg__1); virtual bool event(QEvent* arg__1); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void timerEvent(QTimerEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QFileSystemWatcher : public QObject { Q_OBJECT public: public slots: QFileSystemWatcher* new_QFileSystemWatcher(QObject* parent = 0); QFileSystemWatcher* new_QFileSystemWatcher(const QStringList& paths, QObject* parent = 0); void delete_QFileSystemWatcher(QFileSystemWatcher* obj) { delete obj; } void addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); QStringList directories(QFileSystemWatcher* theWrappedObject) const; void removePath(QFileSystemWatcher* theWrappedObject, const QString& file); void removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); QStringList files(QFileSystemWatcher* theWrappedObject) const; void addPath(QFileSystemWatcher* theWrappedObject, const QString& file); }; #endif // PYTHONQTWRAPPER_QFILESYSTEMWATCHER_H