##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QNetworkInterface.cpp
63 lines | 1.9 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QNetworkInterface.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qhostaddress.h>
#include <qlist.h>
#include <qnetworkinterface.h>
QNetworkInterface* PythonQtWrapper_QNetworkInterface::new_QNetworkInterface()
{
return new QNetworkInterface(); }
QNetworkInterface* PythonQtWrapper_QNetworkInterface::new_QNetworkInterface(const QNetworkInterface& other)
{
return new QNetworkInterface(other); }
QList<QNetworkAddressEntry > PythonQtWrapper_QNetworkInterface::addressEntries(QNetworkInterface* theWrappedObject) const
{
return theWrappedObject->addressEntries();
}
QList<QNetworkInterface > PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allInterfaces()
{
return QNetworkInterface::allInterfaces();
}
QNetworkInterface::InterfaceFlags PythonQtWrapper_QNetworkInterface::flags(QNetworkInterface* theWrappedObject) const
{
return theWrappedObject->flags();
}
QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromName(const QString& name)
{
return QNetworkInterface::interfaceFromName(name);
}
QList<QHostAddress > PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allAddresses()
{
return QNetworkInterface::allAddresses();
}
bool PythonQtWrapper_QNetworkInterface::isValid(QNetworkInterface* theWrappedObject) const
{
return theWrappedObject->isValid();
}
QString PythonQtWrapper_QNetworkInterface::name(QNetworkInterface* theWrappedObject) const
{
return theWrappedObject->name();
}
QString PythonQtWrapper_QNetworkInterface::hardwareAddress(QNetworkInterface* theWrappedObject) const
{
return theWrappedObject->hardwareAddress();
}
QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromIndex(int index)
{
return QNetworkInterface::interfaceFromIndex(index);
}