##// END OF EJS Templates
fixed bad reference counting and borrowed references...
fixed bad reference counting and borrowed references git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@55 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r19:4f416979f8bf
Show More
PythonQtWrapper_QSocketNotifier.h
28 lines | 905 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSOCKETNOTIFIER_H
#define PYTHONQTWRAPPER_QSOCKETNOTIFIER_H
#include <qsocketnotifier.h>
#include <QObject>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qsocketnotifier.h>
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;
int socket(QSocketNotifier* theWrappedObject) const;
QSocketNotifier::Type type(QSocketNotifier* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QSOCKETNOTIFIER_H