##// 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
#ifndef PYTHONQTWRAPPER_QHOSTADDRESS_H
#define PYTHONQTWRAPPER_QHOSTADDRESS_H
#include <qhostaddress.h>
#include <QObject>
#include <PythonQt.h>
#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);
void setAddress(QHostAddress* theWrappedObject, const QIPv6Address& ip6Addr);
void readFrom(QHostAddress* theWrappedObject, QDataStream& arg__1);
void setScopeId(QHostAddress* theWrappedObject, const QString& id);
QAbstractSocket::NetworkLayerProtocol protocol(QHostAddress* theWrappedObject) const;
bool setAddress(QHostAddress* theWrappedObject, const QString& address);
bool isNull(QHostAddress* theWrappedObject) const;
QIPv6Address toIPv6Address(QHostAddress* theWrappedObject) const;
QString scopeId(QHostAddress* theWrappedObject) const;
void setAddress(QHostAddress* theWrappedObject, unsigned int ip4Addr);
void writeTo(QHostAddress* theWrappedObject, QDataStream& arg__1);
bool operator_equal(QHostAddress* theWrappedObject, const QHostAddress& address) const;
QString toString(QHostAddress* theWrappedObject) const;
unsigned int toIPv4Address(QHostAddress* theWrappedObject) const;
bool operator_equal(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const;
};
#endif // PYTHONQTWRAPPER_QHOSTADDRESS_H