##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

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