##// 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_QHttpHeader.cpp
107 lines | 2.9 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QHttpHeader.h"
#include <QVariant>
#include <qlist.h>
#include <qpair.h>
#include <qstringlist.h>
void PythonQtWrapper_QHttpHeader::addValue(QHttpHeader* theWrappedObject, const QString& key, const QString& value)
{
theWrappedObject->addValue(key, value);
}
QStringList PythonQtWrapper_QHttpHeader::allValues(QHttpHeader* theWrappedObject, const QString& key) const
{
return theWrappedObject->allValues(key);
}
uint PythonQtWrapper_QHttpHeader::contentLength(QHttpHeader* theWrappedObject) const
{
return theWrappedObject->contentLength();
}
QString PythonQtWrapper_QHttpHeader::contentType(QHttpHeader* theWrappedObject) const
{
return theWrappedObject->contentType();
}
bool PythonQtWrapper_QHttpHeader::hasContentLength(QHttpHeader* theWrappedObject) const
{
return theWrappedObject->hasContentLength();
}
bool PythonQtWrapper_QHttpHeader::hasContentType(QHttpHeader* theWrappedObject) const
{
return theWrappedObject->hasContentType();
}
bool PythonQtWrapper_QHttpHeader::hasKey(QHttpHeader* theWrappedObject, const QString& key) const
{
return theWrappedObject->hasKey(key);
}
bool PythonQtWrapper_QHttpHeader::isValid(QHttpHeader* theWrappedObject) const
{
return theWrappedObject->isValid();
}
QStringList PythonQtWrapper_QHttpHeader::keys(QHttpHeader* theWrappedObject) const
{
return theWrappedObject->keys();
}
int PythonQtWrapper_QHttpHeader::majorVersion(QHttpHeader* theWrappedObject) const
{
return theWrappedObject->majorVersion();
}
int PythonQtWrapper_QHttpHeader::minorVersion(QHttpHeader* theWrappedObject) const
{
return theWrappedObject->minorVersion();
}
void PythonQtWrapper_QHttpHeader::removeAllValues(QHttpHeader* theWrappedObject, const QString& key)
{
theWrappedObject->removeAllValues(key);
}
void PythonQtWrapper_QHttpHeader::removeValue(QHttpHeader* theWrappedObject, const QString& key)
{
theWrappedObject->removeValue(key);
}
void PythonQtWrapper_QHttpHeader::setContentLength(QHttpHeader* theWrappedObject, int len)
{
theWrappedObject->setContentLength(len);
}
void PythonQtWrapper_QHttpHeader::setContentType(QHttpHeader* theWrappedObject, const QString& type)
{
theWrappedObject->setContentType(type);
}
void PythonQtWrapper_QHttpHeader::setValue(QHttpHeader* theWrappedObject, const QString& key, const QString& value)
{
theWrappedObject->setValue(key, value);
}
void PythonQtWrapper_QHttpHeader::setValues(QHttpHeader* theWrappedObject, const QList<QPair<QString , QString > >& values)
{
theWrappedObject->setValues(values);
}
QString PythonQtWrapper_QHttpHeader::toString(QHttpHeader* theWrappedObject) const
{
return theWrappedObject->toString();
}
QString PythonQtWrapper_QHttpHeader::value(QHttpHeader* theWrappedObject, const QString& key) const
{
return theWrappedObject->value(key);
}
QList<QPair<QString , QString > > PythonQtWrapper_QHttpHeader::values(QHttpHeader* theWrappedObject) const
{
return theWrappedObject->values();
}