##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QNetworkInterface.cpp
70 lines | 2.0 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<QHostAddress > PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allAddresses()
{
return (QNetworkInterface::allAddresses());
}
QNetworkInterface::InterfaceFlags PythonQtWrapper_QNetworkInterface::flags(QNetworkInterface* theWrappedObject) const
{
return ( theWrappedObject->flags());
}
QString PythonQtWrapper_QNetworkInterface::name(QNetworkInterface* theWrappedObject) const
{
return ( theWrappedObject->name());
}
QString PythonQtWrapper_QNetworkInterface::hardwareAddress(QNetworkInterface* theWrappedObject) const
{
return ( theWrappedObject->hardwareAddress());
}
QList<QNetworkAddressEntry > PythonQtWrapper_QNetworkInterface::addressEntries(QNetworkInterface* theWrappedObject) const
{
return ( theWrappedObject->addressEntries());
}
bool PythonQtWrapper_QNetworkInterface::isValid(QNetworkInterface* theWrappedObject) const
{
return ( theWrappedObject->isValid());
}
QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromIndex(int index)
{
return (QNetworkInterface::interfaceFromIndex(index));
}
QList<QNetworkInterface > PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allInterfaces()
{
return (QNetworkInterface::allInterfaces());
}
QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromName(const QString& name)
{
return (QNetworkInterface::interfaceFromName(name));
}
QString PythonQtWrapper_QNetworkInterface::toString(QNetworkInterface* obj) {
QString result;
QDebug d(&result);
d << *obj;
return result;
}