##// END OF EJS Templates
updated version number, next version will be 2.0 due to the wrapping generator addition...
updated version number, next version will be 2.0 due to the wrapping generator addition git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@69 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r33:1742cf875fd9
Show More
PythonQtWrapper_QNetworkCookie.cpp
100 lines | 2.9 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QNetworkCookie.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QDateTime>
#include <QVariant>
#include <qbytearray.h>
#include <qdatetime.h>
#include <qlist.h>
#include <qnetworkcookie.h>
QNetworkCookie* PythonQtWrapper_QNetworkCookie::new_QNetworkCookie(const QByteArray& name, const QByteArray& value)
{
return new QNetworkCookie(name, value); }
QNetworkCookie* PythonQtWrapper_QNetworkCookie::new_QNetworkCookie(const QNetworkCookie& other)
{
return new QNetworkCookie(other); }
QString PythonQtWrapper_QNetworkCookie::domain(QNetworkCookie* theWrappedObject) const
{
return theWrappedObject->domain();
}
bool PythonQtWrapper_QNetworkCookie::operator_equal(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const
{
return (*theWrappedObject)== other;
}
QString PythonQtWrapper_QNetworkCookie::path(QNetworkCookie* theWrappedObject) const
{
return theWrappedObject->path();
}
QByteArray PythonQtWrapper_QNetworkCookie::name(QNetworkCookie* theWrappedObject) const
{
return theWrappedObject->name();
}
QList<QNetworkCookie > PythonQtWrapper_QNetworkCookie::static_QNetworkCookie_parseCookies(const QByteArray& cookieString)
{
return QNetworkCookie::parseCookies(cookieString);
}
void PythonQtWrapper_QNetworkCookie::setSecure(QNetworkCookie* theWrappedObject, bool enable)
{
theWrappedObject->setSecure(enable);
}
void PythonQtWrapper_QNetworkCookie::setValue(QNetworkCookie* theWrappedObject, const QByteArray& value)
{
theWrappedObject->setValue(value);
}
void PythonQtWrapper_QNetworkCookie::setName(QNetworkCookie* theWrappedObject, const QByteArray& cookieName)
{
theWrappedObject->setName(cookieName);
}
void PythonQtWrapper_QNetworkCookie::setExpirationDate(QNetworkCookie* theWrappedObject, const QDateTime& date)
{
theWrappedObject->setExpirationDate(date);
}
QDateTime PythonQtWrapper_QNetworkCookie::expirationDate(QNetworkCookie* theWrappedObject) const
{
return theWrappedObject->expirationDate();
}
QByteArray PythonQtWrapper_QNetworkCookie::toRawForm(QNetworkCookie* theWrappedObject, QNetworkCookie::RawForm form) const
{
return theWrappedObject->toRawForm(form);
}
bool PythonQtWrapper_QNetworkCookie::isSecure(QNetworkCookie* theWrappedObject) const
{
return theWrappedObject->isSecure();
}
bool PythonQtWrapper_QNetworkCookie::isSessionCookie(QNetworkCookie* theWrappedObject) const
{
return theWrappedObject->isSessionCookie();
}
QByteArray PythonQtWrapper_QNetworkCookie::value(QNetworkCookie* theWrappedObject) const
{
return theWrappedObject->value();
}
void PythonQtWrapper_QNetworkCookie::setDomain(QNetworkCookie* theWrappedObject, const QString& domain)
{
theWrappedObject->setDomain(domain);
}
void PythonQtWrapper_QNetworkCookie::setPath(QNetworkCookie* theWrappedObject, const QString& path)
{
theWrappedObject->setPath(path);
}