##// END OF EJS Templates
fixed Qt3Support member...
fixed Qt3Support member git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@131 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r95:4e6b32d68b66
Show More
PythonQtWrapper_QHostAddress.h
44 lines | 2.1 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QHOSTADDRESS_H
#define PYTHONQTWRAPPER_QHOSTADDRESS_H
#include <qhostaddress.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qdatastream.h>
#include <qhostaddress.h>
class PythonQtWrapper_QHostAddress : public QObject
{ Q_OBJECT
public:
Q_ENUMS(SpecialAddress )
enum SpecialAddress{
Null = QHostAddress::Null, Broadcast = QHostAddress::Broadcast, LocalHost = QHostAddress::LocalHost, LocalHostIPv6 = QHostAddress::LocalHostIPv6, Any = QHostAddress::Any, AnyIPv6 = QHostAddress::AnyIPv6};
public slots:
QHostAddress* new_QHostAddress();
QHostAddress* new_QHostAddress(QHostAddress::SpecialAddress address);
QHostAddress* new_QHostAddress(const QHostAddress& copy);
QHostAddress* new_QHostAddress(const QIPv6Address& ip6Addr);
QHostAddress* new_QHostAddress(const QString& address);
QHostAddress* new_QHostAddress(unsigned int ip4Addr);
void delete_QHostAddress(QHostAddress* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 bool isNull(QHostAddress* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool operator_equal(QHostAddress* theWrappedObject, const QHostAddress& address) const;
void setAddress(QHostAddress* theWrappedObject, const QIPv6Address& ip6Addr);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setAddress(QHostAddress* theWrappedObject, unsigned int ip4Addr);
florianlink
upgraded wrappers to current generator version...
r28 void writeTo(QHostAddress* theWrappedObject, QDataStream& arg__1);
florianlink
recreated wrappers to match current python qt version...
r73 void readFrom(QHostAddress* theWrappedObject, QDataStream& arg__1);
florianlink
upgraded wrappers to current generator version...
r28 unsigned int toIPv4Address(QHostAddress* theWrappedObject) const;
bool operator_equal(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const;
florianlink
recreated wrappers to match current python qt version...
r73 QString toString(QHostAddress* theWrappedObject) const;
QString scopeId(QHostAddress* theWrappedObject) const;
bool setAddress(QHostAddress* theWrappedObject, const QString& address);
void clear(QHostAddress* theWrappedObject);
QAbstractSocket::NetworkLayerProtocol protocol(QHostAddress* theWrappedObject) const;
void setScopeId(QHostAddress* theWrappedObject, const QString& id);
QIPv6Address toIPv6Address(QHostAddress* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QHOSTADDRESS_H