##// 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_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; }
void clear(QHostAddress* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 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 readFrom(QHostAddress* theWrappedObject, QDataStream& arg__1);
florianlink
upgraded wrappers to current generator version...
r28 void setScopeId(QHostAddress* theWrappedObject, const QString& id);
QAbstractSocket::NetworkLayerProtocol protocol(QHostAddress* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool setAddress(QHostAddress* theWrappedObject, const QString& address);
florianlink
upgraded wrappers to current generator version...
r28 bool isNull(QHostAddress* theWrappedObject) const;
QIPv6Address toIPv6Address(QHostAddress* theWrappedObject) const;
QString scopeId(QHostAddress* theWrappedObject) const;
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
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool operator_equal(QHostAddress* theWrappedObject, const QHostAddress& address) const;
florianlink
upgraded wrappers to current generator version...
r28 QString toString(QHostAddress* theWrappedObject) const;
unsigned int toIPv4Address(QHostAddress* theWrappedObject) const;
bool operator_equal(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QHOSTADDRESS_H