##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
Show More
PythonQtWrapper_QNetworkCookie.cpp
107 lines | 3.1 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); }
void PythonQtWrapper_QNetworkCookie::setExpirationDate(QNetworkCookie* theWrappedObject, const QDateTime& date)
{
( theWrappedObject->setExpirationDate(date));
}
void PythonQtWrapper_QNetworkCookie::setSecure(QNetworkCookie* theWrappedObject, bool enable)
{
( theWrappedObject->setSecure(enable));
}
QList<QNetworkCookie > PythonQtWrapper_QNetworkCookie::static_QNetworkCookie_parseCookies(const QByteArray& cookieString)
{
return (QNetworkCookie::parseCookies(cookieString));
}
QByteArray PythonQtWrapper_QNetworkCookie::value(QNetworkCookie* theWrappedObject) const
{
return ( theWrappedObject->value());
}
void PythonQtWrapper_QNetworkCookie::setName(QNetworkCookie* theWrappedObject, const QByteArray& cookieName)
{
( theWrappedObject->setName(cookieName));
}
QString PythonQtWrapper_QNetworkCookie::path(QNetworkCookie* theWrappedObject) const
{
return ( theWrappedObject->path());
}
bool PythonQtWrapper_QNetworkCookie::operator_equal(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const
{
return ( (*theWrappedObject)== other);
}
void PythonQtWrapper_QNetworkCookie::setValue(QNetworkCookie* theWrappedObject, const QByteArray& value)
{
( theWrappedObject->setValue(value));
}
QByteArray PythonQtWrapper_QNetworkCookie::toRawForm(QNetworkCookie* theWrappedObject, QNetworkCookie::RawForm form) const
{
return ( theWrappedObject->toRawForm(form));
}
void PythonQtWrapper_QNetworkCookie::setDomain(QNetworkCookie* theWrappedObject, const QString& domain)
{
( theWrappedObject->setDomain(domain));
}
QString PythonQtWrapper_QNetworkCookie::domain(QNetworkCookie* theWrappedObject) const
{
return ( theWrappedObject->domain());
}
QDateTime PythonQtWrapper_QNetworkCookie::expirationDate(QNetworkCookie* theWrappedObject) const
{
return ( theWrappedObject->expirationDate());
}
bool PythonQtWrapper_QNetworkCookie::isSecure(QNetworkCookie* theWrappedObject) const
{
return ( theWrappedObject->isSecure());
}
bool PythonQtWrapper_QNetworkCookie::isSessionCookie(QNetworkCookie* theWrappedObject) const
{
return ( theWrappedObject->isSessionCookie());
}
void PythonQtWrapper_QNetworkCookie::setPath(QNetworkCookie* theWrappedObject, const QString& path)
{
( theWrappedObject->setPath(path));
}
QByteArray PythonQtWrapper_QNetworkCookie::name(QNetworkCookie* theWrappedObject) const
{
return ( theWrappedObject->name());
}
QString PythonQtWrapper_QNetworkCookie::toString(QNetworkCookie* obj) {
QString result;
QDebug d(&result);
d << *obj;
return result;
}