##// 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_QNetworkAddressEntry.cpp
44 lines | 1.3 KiB | text/x-c | CppLexer
/ generated_cpp / com_trolltech_qt_network / PythonQtWrapper_QNetworkAddressEntry.cpp
#include "PythonQtWrapper_QNetworkAddressEntry.h"
#include <QVariant>
#include <qhostaddress.h>
#include <qnetworkinterface.h>
QNetworkAddressEntry* PythonQtWrapper_QNetworkAddressEntry::new_QNetworkAddressEntry()
{
return new QNetworkAddressEntry(); }
QNetworkAddressEntry* PythonQtWrapper_QNetworkAddressEntry::new_QNetworkAddressEntry(const QNetworkAddressEntry& other)
{
return new QNetworkAddressEntry(other); }
QHostAddress PythonQtWrapper_QNetworkAddressEntry::broadcast(QNetworkAddressEntry* theWrappedObject) const
{
return theWrappedObject->broadcast();
}
QHostAddress PythonQtWrapper_QNetworkAddressEntry::ip(QNetworkAddressEntry* theWrappedObject) const
{
return theWrappedObject->ip();
}
QHostAddress PythonQtWrapper_QNetworkAddressEntry::netmask(QNetworkAddressEntry* theWrappedObject) const
{
return theWrappedObject->netmask();
}
void PythonQtWrapper_QNetworkAddressEntry::setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast)
{
theWrappedObject->setBroadcast(newBroadcast);
}
void PythonQtWrapper_QNetworkAddressEntry::setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp)
{
theWrappedObject->setIp(newIp);
}
void PythonQtWrapper_QNetworkAddressEntry::setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask)
{
theWrappedObject->setNetmask(newNetmask);
}