##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QHttpResponseHeader.h
30 lines | 1.2 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QHTTPRESPONSEHEADER_H
#define PYTHONQTWRAPPER_QHTTPRESPONSEHEADER_H
#include <qhttp.h>
#include <QObject>
#include <QVariant>
#include <qhttp.h>
#include <qlist.h>
#include <qpair.h>
#include <qstringlist.h>
class PythonQtWrapper_QHttpResponseHeader : public QObject
{ Q_OBJECT
public:
public slots:
QHttpResponseHeader* new_QHttpResponseHeader();
QHttpResponseHeader* new_QHttpResponseHeader(const QHttpResponseHeader& header);
QHttpResponseHeader* new_QHttpResponseHeader(const QString& str);
QHttpResponseHeader* new_QHttpResponseHeader(int code, const QString& text = QString(), int majorVer = 1, int minorVer = 1);
void delete_QHttpResponseHeader(QHttpResponseHeader* obj) { delete obj; }
int majorVersion(QHttpResponseHeader* theWrappedObject) const;
int minorVersion(QHttpResponseHeader* theWrappedObject) const;
QString reasonPhrase(QHttpResponseHeader* theWrappedObject) const;
void setStatusLine(QHttpResponseHeader* theWrappedObject, int code, const QString& text = QString(), int majorVer = 1, int minorVer = 1);
int statusCode(QHttpResponseHeader* theWrappedObject) const;
QString toString(QHttpResponseHeader* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QHTTPRESPONSEHEADER_H