##// END OF EJS Templates
started to update/improve docs...
started to update/improve docs git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@68 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r32:ae159b178ea0
Show More
PythonQtWrapper_QNetworkCookie.h
44 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; }
QString domain(QNetworkCookie* theWrappedObject) const;
bool operator_equal(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const;
QString path(QNetworkCookie* theWrappedObject) const;
QByteArray name(QNetworkCookie* theWrappedObject) const;
QList<QNetworkCookie > static_QNetworkCookie_parseCookies(const QByteArray& cookieString);
void setSecure(QNetworkCookie* theWrappedObject, bool enable);
void setValue(QNetworkCookie* theWrappedObject, const QByteArray& value);
void setName(QNetworkCookie* theWrappedObject, const QByteArray& cookieName);
void setExpirationDate(QNetworkCookie* theWrappedObject, const QDateTime& date);
QDateTime expirationDate(QNetworkCookie* theWrappedObject) const;
QByteArray toRawForm(QNetworkCookie* theWrappedObject, QNetworkCookie::RawForm form = QNetworkCookie::Full) const;
bool isSecure(QNetworkCookie* theWrappedObject) const;
bool isSessionCookie(QNetworkCookie* theWrappedObject) const;
QByteArray value(QNetworkCookie* theWrappedObject) const;
void setDomain(QNetworkCookie* theWrappedObject, const QString& domain);
void setPath(QNetworkCookie* theWrappedObject, const QString& path);
};
#endif // PYTHONQTWRAPPER_QNETWORKCOOKIE_H