##// END OF EJS Templates
updated version number, next version will be 2.0 due to the wrapping generator addition...
updated version number, next version will be 2.0 due to the wrapping generator addition git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@69 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r33:1742cf875fd9
Show More
PythonQtWrapper_QSocketNotifier.h
50 lines | 1.6 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSOCKETNOTIFIER_H
#define PYTHONQTWRAPPER_QSOCKETNOTIFIER_H
#include <qsocketnotifier.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qsocketnotifier.h>
class PythonQtShell_QSocketNotifier : public QSocketNotifier
{
public:
PythonQtShell_QSocketNotifier(int socket, QSocketNotifier::Type arg__2, QObject* parent = 0):QSocketNotifier(socket, arg__2, 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 PythonQtPublicPromoter_QSocketNotifier : public QSocketNotifier
{ public:
inline bool promoted_event(QEvent* arg__1) { return QSocketNotifier::event(arg__1); }
};
class PythonQtWrapper_QSocketNotifier : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Type )
enum Type{
Read = QSocketNotifier::Read, Write = QSocketNotifier::Write, Exception = QSocketNotifier::Exception};
public slots:
QSocketNotifier* new_QSocketNotifier(int socket, QSocketNotifier::Type arg__2, QObject* parent = 0);
void delete_QSocketNotifier(QSocketNotifier* obj) { delete obj; }
bool isEnabled(QSocketNotifier* theWrappedObject) const;
QSocketNotifier::Type type(QSocketNotifier* theWrappedObject) const;
bool event(QSocketNotifier* theWrappedObject, QEvent* arg__1);
int socket(QSocketNotifier* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QSOCKETNOTIFIER_H