##// 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_QNetworkProxy.h
38 lines | 2.0 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QNETWORKPROXY_H
#define PYTHONQTWRAPPER_QNETWORKPROXY_H
#include <qnetworkproxy.h>
#include <QObject>
#include <QVariant>
#include <qnetworkproxy.h>
class PythonQtWrapper_QNetworkProxy : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ProxyType )
enum ProxyType{
DefaultProxy = QNetworkProxy::DefaultProxy, Socks5Proxy = QNetworkProxy::Socks5Proxy, NoProxy = QNetworkProxy::NoProxy, HttpProxy = QNetworkProxy::HttpProxy, HttpCachingProxy = QNetworkProxy::HttpCachingProxy, FtpCachingProxy = QNetworkProxy::FtpCachingProxy};
public slots:
QNetworkProxy* new_QNetworkProxy();
QNetworkProxy* new_QNetworkProxy(QNetworkProxy::ProxyType type, const QString& hostName = QString(), unsigned short port = 0, const QString& user = QString(), const QString& password = QString());
QNetworkProxy* new_QNetworkProxy(const QNetworkProxy& other);
void delete_QNetworkProxy(QNetworkProxy* obj) { delete obj; }
QNetworkProxy static_QNetworkProxy_applicationProxy();
QString hostName(QNetworkProxy* theWrappedObject) const;
bool isCachingProxy(QNetworkProxy* theWrappedObject) const;
bool isTransparentProxy(QNetworkProxy* theWrappedObject) const;
bool operator_equal(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const;
QString password(QNetworkProxy* theWrappedObject) const;
unsigned short port(QNetworkProxy* theWrappedObject) const;
void static_QNetworkProxy_setApplicationProxy(const QNetworkProxy& proxy);
void setHostName(QNetworkProxy* theWrappedObject, const QString& hostName);
void setPassword(QNetworkProxy* theWrappedObject, const QString& password);
void setPort(QNetworkProxy* theWrappedObject, unsigned short port);
void setType(QNetworkProxy* theWrappedObject, QNetworkProxy::ProxyType type);
void setUser(QNetworkProxy* theWrappedObject, const QString& userName);
QNetworkProxy::ProxyType type(QNetworkProxy* theWrappedObject) const;
QString user(QNetworkProxy* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QNETWORKPROXY_H