PythonQtWrapper_QUrl.cpp
425 lines
| 11.3 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QUrl.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QStringList> | ||
#include <QVariant> | ||||
#include <qbytearray.h> | ||||
#include <qdatastream.h> | ||||
#include <qlist.h> | ||||
#include <qpair.h> | ||||
#include <qstringlist.h> | ||||
#include <qurl.h> | ||||
QUrl* PythonQtWrapper_QUrl::new_QUrl() | ||||
{ | ||||
return new QUrl(); } | ||||
QUrl* PythonQtWrapper_QUrl::new_QUrl(const QString& url) | ||||
{ | ||||
return new QUrl(url); } | ||||
QUrl* PythonQtWrapper_QUrl::new_QUrl(const QString& url, QUrl::ParsingMode mode) | ||||
{ | ||||
return new QUrl(url, mode); } | ||||
QUrl* PythonQtWrapper_QUrl::new_QUrl(const QUrl& copy) | ||||
{ | ||||
return new QUrl(copy); } | ||||
|
r73 | void PythonQtWrapper_QUrl::setPassword(QUrl* theWrappedObject, const QString& password) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setPassword(password)); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QUrl::removeQueryItem(QUrl* theWrappedObject, const QString& key) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->removeQueryItem(key)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setHost(QUrl* theWrappedObject, const QString& host) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setHost(host)); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::queryItemValue(QUrl* theWrappedObject, const QString& key) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->queryItemValue(key)); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::scheme(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->scheme()); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setEncodedQueryItems(QUrl* theWrappedObject, const QList<QPair<QByteArray , QByteArray > >& query) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setEncodedQueryItems(query)); | ||
|
r13 | } | ||
|
r73 | QByteArray PythonQtWrapper_QUrl::static_QUrl_toPercentEncoding(const QString& arg__1, const QByteArray& exclude, const QByteArray& include) | ||
|
r13 | { | ||
|
r73 | return (QUrl::toPercentEncoding(arg__1, exclude, include)); | ||
|
r13 | } | ||
|
r73 | bool PythonQtWrapper_QUrl::operator_equal(QUrl* theWrappedObject, const QUrl& url) const | ||
|
r13 | { | ||
|
r73 | return ( (*theWrappedObject)== url); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QUrl::setScheme(QUrl* theWrappedObject, const QString& scheme) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setScheme(scheme)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::addEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key, const QByteArray& value) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->addEncodedQueryItem(key, value)); | ||
|
r13 | } | ||
|
r73 | QByteArray PythonQtWrapper_QUrl::encodedPassword(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->encodedPassword()); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::authority(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->authority()); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setEncodedFragment(QUrl* theWrappedObject, const QByteArray& fragment) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setEncodedFragment(fragment)); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::path(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->path()); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::readFrom(QUrl* theWrappedObject, QDataStream& arg__1) | ||
|
r13 | { | ||
|
r73 | arg__1 >> (*theWrappedObject); | ||
|
r13 | } | ||
|
r73 | QUrl PythonQtWrapper_QUrl::resolved(QUrl* theWrappedObject, const QUrl& relative) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->resolved(relative)); | ||
|
r13 | } | ||
|
r73 | QUrl PythonQtWrapper_QUrl::static_QUrl_fromEncoded(const QByteArray& url, QUrl::ParsingMode mode) | ||
|
r13 | { | ||
|
r73 | return (QUrl::fromEncoded(url, mode)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::writeTo(QUrl* theWrappedObject, QDataStream& arg__1) | ||
|
r13 | { | ||
|
r73 | arg__1 << (*theWrappedObject); | ||
|
r13 | } | ||
|
r28 | QString PythonQtWrapper_QUrl::static_QUrl_fromPercentEncoding(const QByteArray& arg__1) | ||
|
r13 | { | ||
|
r73 | return (QUrl::fromPercentEncoding(arg__1)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setEncodedPassword(QUrl* theWrappedObject, const QByteArray& password) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setEncodedPassword(password)); | ||
|
r13 | } | ||
|
r73 | QUrl PythonQtWrapper_QUrl::static_QUrl_fromLocalFile(const QString& localfile) | ||
|
r13 | { | ||
|
r73 | return (QUrl::fromLocalFile(localfile)); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::fragment(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->fragment()); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::userName(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->userName()); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::addQueryItem(QUrl* theWrappedObject, const QString& key, const QString& value) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->addQueryItem(key, value)); | ||
|
r13 | } | ||
|
r73 | bool PythonQtWrapper_QUrl::hasQuery(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->hasQuery()); | ||
|
r13 | } | ||
|
r73 | bool PythonQtWrapper_QUrl::hasFragment(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->hasFragment()); | ||
|
r13 | } | ||
|
r73 | bool PythonQtWrapper_QUrl::operator_less(QUrl* theWrappedObject, const QUrl& url) const | ||
|
r13 | { | ||
|
r73 | return ( (*theWrappedObject)< url); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setEncodedHost(QUrl* theWrappedObject, const QByteArray& host) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setEncodedHost(host)); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::errorString(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->errorString()); | ||
|
r13 | } | ||
|
r73 | bool PythonQtWrapper_QUrl::isParentOf(QUrl* theWrappedObject, const QUrl& url) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->isParentOf(url)); | ||
|
r13 | } | ||
|
r73 | QUrl PythonQtWrapper_QUrl::static_QUrl_fromEncoded(const QByteArray& url) | ||
|
r13 | { | ||
|
r73 | return (QUrl::fromEncoded(url)); | ||
|
r13 | } | ||
|
r73 | bool PythonQtWrapper_QUrl::hasQueryItem(QUrl* theWrappedObject, const QString& key) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->hasQueryItem(key)); | ||
|
r13 | } | ||
|
r73 | QByteArray PythonQtWrapper_QUrl::static_QUrl_toAce(const QString& arg__1) | ||
|
r13 | { | ||
|
r73 | return (QUrl::toAce(arg__1)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setAuthority(QUrl* theWrappedObject, const QString& authority) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setAuthority(authority)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url, QUrl::ParsingMode mode) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setEncodedUrl(url, mode)); | ||
|
r13 | } | ||
|
r73 | QList<QPair<QString , QString > > PythonQtWrapper_QUrl::queryItems(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->queryItems()); | ||
|
r13 | } | ||
|
r73 | char PythonQtWrapper_QUrl::queryPairDelimiter(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->queryPairDelimiter()); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setPort(QUrl* theWrappedObject, int port) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setPort(port)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setUserInfo(QUrl* theWrappedObject, const QString& userInfo) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setUserInfo(userInfo)); | ||
|
r13 | } | ||
|
r73 | int PythonQtWrapper_QUrl::port(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->port()); | ||
|
r13 | } | ||
|
r73 | QByteArray PythonQtWrapper_QUrl::encodedFragment(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->encodedFragment()); | ||
|
r13 | } | ||
|
r73 | QByteArray PythonQtWrapper_QUrl::encodedHost(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->encodedHost()); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setPath(QUrl* theWrappedObject, const QString& path) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setPath(path)); | ||
|
r13 | } | ||
|
r73 | QByteArray PythonQtWrapper_QUrl::encodedUserName(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->encodedUserName()); | ||
|
r13 | } | ||
|
r73 | QList<QPair<QByteArray , QByteArray > > PythonQtWrapper_QUrl::encodedQueryItems(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->encodedQueryItems()); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::removeAllQueryItems(QUrl* theWrappedObject, const QString& key) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->removeAllQueryItems(key)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setEncodedUserName(QUrl* theWrappedObject, const QByteArray& userName) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setEncodedUserName(userName)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setEncodedUrl(url)); | ||
|
r13 | } | ||
|
r73 | QByteArray PythonQtWrapper_QUrl::encodedPath(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->encodedPath()); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setFragment(QUrl* theWrappedObject, const QString& fragment) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setFragment(fragment)); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::host(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->host()); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::userInfo(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->userInfo()); | ||
|
r13 | } | ||
|
r73 | QByteArray PythonQtWrapper_QUrl::encodedQuery(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->encodedQuery()); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setUserName(QUrl* theWrappedObject, const QString& userName) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setUserName(userName)); | ||
|
r13 | } | ||
|
r73 | bool PythonQtWrapper_QUrl::hasEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->hasEncodedQueryItem(key)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setQueryItems(QUrl* theWrappedObject, const QList<QPair<QString , QString > >& query) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setQueryItems(query)); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::toString(QUrl* theWrappedObject, QUrl::FormattingOptions options) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->toString(options)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setUrl(QUrl* theWrappedObject, const QString& url, QUrl::ParsingMode mode) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setUrl(url, mode)); | ||
|
r13 | } | ||
|
r73 | QByteArray PythonQtWrapper_QUrl::toEncoded(QUrl* theWrappedObject, QUrl::FormattingOptions options) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->toEncoded(options)); | ||
|
r13 | } | ||
|
r73 | QList<QByteArray > PythonQtWrapper_QUrl::allEncodedQueryItemValues(QUrl* theWrappedObject, const QByteArray& key) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->allEncodedQueryItemValues(key)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::clear(QUrl* theWrappedObject) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->clear()); | ||
|
r13 | } | ||
|
r73 | QByteArray PythonQtWrapper_QUrl::encodedQueryItemValue(QUrl* theWrappedObject, const QByteArray& key) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->encodedQueryItemValue(key)); | ||
|
r13 | } | ||
|
r73 | bool PythonQtWrapper_QUrl::isRelative(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->isRelative()); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::removeAllEncodedQueryItems(QUrl* theWrappedObject, const QByteArray& key) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->removeAllEncodedQueryItems(key)); | ||
|
r13 | } | ||
|
r73 | bool PythonQtWrapper_QUrl::isEmpty(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->isEmpty()); | ||
|
r13 | } | ||
|
r73 | QStringList PythonQtWrapper_QUrl::allQueryItemValues(QUrl* theWrappedObject, const QString& key) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->allQueryItemValues(key)); | ||
|
r13 | } | ||
|
r73 | int PythonQtWrapper_QUrl::port(QUrl* theWrappedObject, int defaultPort) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->port(defaultPort)); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::static_QUrl_fromAce(const QByteArray& arg__1) | ||
|
r13 | { | ||
|
r73 | return (QUrl::fromAce(arg__1)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::removeEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->removeEncodedQueryItem(key)); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QUrl::setEncodedQuery(QUrl* theWrappedObject, const QByteArray& query) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setEncodedQuery(query)); | ||
|
r13 | } | ||
|
r73 | bool PythonQtWrapper_QUrl::isValid(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->isValid()); | ||
|
r13 | } | ||
|
r73 | QStringList PythonQtWrapper_QUrl::static_QUrl_idnWhitelist() | ||
|
r13 | { | ||
|
r73 | return (QUrl::idnWhitelist()); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::toLocalFile(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->toLocalFile()); | ||
|
r13 | } | ||
|
r73 | QString PythonQtWrapper_QUrl::password(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->password()); | ||
|
r13 | } | ||
|
r73 | char PythonQtWrapper_QUrl::queryValueDelimiter(QUrl* theWrappedObject) const | ||
|
r13 | { | ||
|
r73 | return ( theWrappedObject->queryValueDelimiter()); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setEncodedPath(QUrl* theWrappedObject, const QByteArray& path) | ||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setEncodedPath(path)); | ||
|
r13 | } | ||
|
r73 | void PythonQtWrapper_QUrl::setQueryDelimiters(QUrl* theWrappedObject, char valueDelimiter, char pairDelimiter) | ||
|
r28 | { | ||
|
r73 | ( theWrappedObject->setQueryDelimiters(valueDelimiter, pairDelimiter)); | ||
|
r28 | } | ||
|
r73 | void PythonQtWrapper_QUrl::static_QUrl_setIdnWhitelist(const QStringList& arg__1) | ||
{ | ||||
(QUrl::setIdnWhitelist(arg__1)); | ||||
} | ||||
void PythonQtWrapper_QUrl::setUrl(QUrl* theWrappedObject, const QString& url) | ||||
|
r13 | { | ||
|
r73 | ( theWrappedObject->setUrl(url)); | ||
|
r13 | } | ||