##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QNetworkInterface.h
33 lines | 1.5 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QNETWORKINTERFACE_H
#define PYTHONQTWRAPPER_QNETWORKINTERFACE_H
#include <qnetworkinterface.h>
#include <QObject>
#include <QVariant>
#include <qhostaddress.h>
#include <qlist.h>
#include <qnetworkinterface.h>
class PythonQtWrapper_QNetworkInterface : public QObject
{ Q_OBJECT
public:
Q_ENUMS(InterfaceFlag )
enum InterfaceFlag{
IsUp = QNetworkInterface::IsUp, IsRunning = QNetworkInterface::IsRunning, CanBroadcast = QNetworkInterface::CanBroadcast, IsLoopBack = QNetworkInterface::IsLoopBack, IsPointToPoint = QNetworkInterface::IsPointToPoint, CanMulticast = QNetworkInterface::CanMulticast};
public slots:
QNetworkInterface* new_QNetworkInterface();
QNetworkInterface* new_QNetworkInterface(const QNetworkInterface& other);
void delete_QNetworkInterface(QNetworkInterface* obj) { delete obj; }
QList<QNetworkAddressEntry > addressEntries(QNetworkInterface* theWrappedObject) const;
QList<QHostAddress > static_QNetworkInterface_allAddresses();
QList<QNetworkInterface > static_QNetworkInterface_allInterfaces();
QNetworkInterface::InterfaceFlags flags(QNetworkInterface* theWrappedObject) const;
QString hardwareAddress(QNetworkInterface* theWrappedObject) const;
QNetworkInterface static_QNetworkInterface_interfaceFromIndex(int index);
QNetworkInterface static_QNetworkInterface_interfaceFromName(const QString& name);
bool isValid(QNetworkInterface* theWrappedObject) const;
QString name(QNetworkInterface* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QNETWORKINTERFACE_H