##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QNetworkCookie.h
45 lines | 2.0 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QNETWORKCOOKIE_H
#define PYTHONQTWRAPPER_QNETWORKCOOKIE_H
#include <qnetworkcookie.h>
#include <QObject>
#include <PythonQt.h>
#include <QDateTime>
#include <QVariant>
#include <qbytearray.h>
#include <qdatetime.h>
#include <qlist.h>
#include <qnetworkcookie.h>
class PythonQtWrapper_QNetworkCookie : public QObject
{ Q_OBJECT
public:
Q_ENUMS(RawForm )
enum RawForm{
NameAndValueOnly = QNetworkCookie::NameAndValueOnly, Full = QNetworkCookie::Full};
public slots:
QNetworkCookie* new_QNetworkCookie(const QByteArray& name = QByteArray(), const QByteArray& value = QByteArray());
QNetworkCookie* new_QNetworkCookie(const QNetworkCookie& other);
void delete_QNetworkCookie(QNetworkCookie* obj) { delete obj; }
void setExpirationDate(QNetworkCookie* theWrappedObject, const QDateTime& date);
void setSecure(QNetworkCookie* theWrappedObject, bool enable);
QList<QNetworkCookie > static_QNetworkCookie_parseCookies(const QByteArray& cookieString);
QByteArray value(QNetworkCookie* theWrappedObject) const;
void setName(QNetworkCookie* theWrappedObject, const QByteArray& cookieName);
QString path(QNetworkCookie* theWrappedObject) const;
bool operator_equal(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const;
void setValue(QNetworkCookie* theWrappedObject, const QByteArray& value);
QByteArray toRawForm(QNetworkCookie* theWrappedObject, QNetworkCookie::RawForm form = QNetworkCookie::Full) const;
void setDomain(QNetworkCookie* theWrappedObject, const QString& domain);
QString domain(QNetworkCookie* theWrappedObject) const;
QDateTime expirationDate(QNetworkCookie* theWrappedObject) const;
bool isSecure(QNetworkCookie* theWrappedObject) const;
bool isSessionCookie(QNetworkCookie* theWrappedObject) const;
void setPath(QNetworkCookie* theWrappedObject, const QString& path);
QByteArray name(QNetworkCookie* theWrappedObject) const;
QString toString(QNetworkCookie*);
};
#endif // PYTHONQTWRAPPER_QNETWORKCOOKIE_H