PythonQtWrapper_QIPv6Address.h
32 lines
| 737 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QIPV6ADDRESS_H | ||
#define PYTHONQTWRAPPER_QIPV6ADDRESS_H | ||||
#include <qhostaddress.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
florianlink
|
r24 | class PythonQtShell_QIPv6Address : public QIPv6Address | ||
{ | ||||
public: | ||||
PythonQtShell_QIPv6Address():QIPv6Address(),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QIPv6Address : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QIPv6Address* new_QIPv6Address(); | ||||
florianlink
|
r24 | QIPv6Address* new_QIPv6Address(const QIPv6Address& other) { | ||
PythonQtShell_QIPv6Address* a = new PythonQtShell_QIPv6Address(); | ||||
*((QIPv6Address*)a) = other; | ||||
return a; } | ||||
florianlink
|
r13 | void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } | ||
}; | ||||
#endif // PYTHONQTWRAPPER_QIPV6ADDRESS_H | ||||