##// END OF EJS Templates
added PyLauncher example...
added PyLauncher example added hadError() to scripting console added addSysPath() git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@50 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r14:59f352c6d9fb
Show More
PythonQtWrapper_QNetworkCookie.cpp
97 lines | 2.7 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QNetworkCookie.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();
}
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();
}
QByteArray PythonQtWrapper_QNetworkCookie::name(QNetworkCookie* theWrappedObject) const
{
return theWrappedObject->name();
}
bool PythonQtWrapper_QNetworkCookie::operator_equal(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const
{
return *theWrappedObject == other;
}
QList<QNetworkCookie > PythonQtWrapper_QNetworkCookie::static_QNetworkCookie_parseCookies(const QByteArray& cookieString)
{
return QNetworkCookie::parseCookies(cookieString);
}
QString PythonQtWrapper_QNetworkCookie::path(QNetworkCookie* theWrappedObject) const
{
return theWrappedObject->path();
}
void PythonQtWrapper_QNetworkCookie::setDomain(QNetworkCookie* theWrappedObject, const QString& domain)
{
theWrappedObject->setDomain(domain);
}
void PythonQtWrapper_QNetworkCookie::setExpirationDate(QNetworkCookie* theWrappedObject, const QDateTime& date)
{
theWrappedObject->setExpirationDate(date);
}
void PythonQtWrapper_QNetworkCookie::setName(QNetworkCookie* theWrappedObject, const QByteArray& cookieName)
{
theWrappedObject->setName(cookieName);
}
void PythonQtWrapper_QNetworkCookie::setPath(QNetworkCookie* theWrappedObject, const QString& path)
{
theWrappedObject->setPath(path);
}
void PythonQtWrapper_QNetworkCookie::setSecure(QNetworkCookie* theWrappedObject, bool enable)
{
theWrappedObject->setSecure(enable);
}
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);
}
QByteArray PythonQtWrapper_QNetworkCookie::value(QNetworkCookie* theWrappedObject) const
{
return theWrappedObject->value();
}