API reference - Class QUrl

Notation used in Ruby API documentation

Description: Binding of QUrl

Sub-classes: FormattingOption, ParsingMode

Public constructors

new QUrlnewConstructor QUrl::QUrl()
new QUrlnew(string url)Constructor QUrl::QUrl(const QString &url)
new QUrlnew(string url,
const QUrl_ParsingMode mode)
Constructor QUrl::QUrl(const QString &url, QUrl::ParsingMode mode)
new QUrlnew(const QUrl copy)Constructor QUrl::QUrl(const QUrl &copy)

Public methods

[const]bool!=(const QUrl url)Method bool QUrl::operator !=(const QUrl &url)
[const]bool<(const QUrl url)Method bool QUrl::operator <(const QUrl &url)
[const]bool==(const QUrl url)Method bool QUrl::operator ==(const QUrl &url)
void_assign(const QUrl other)Assigns another object to self
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
voidaddEncodedQueryItem(string key,
string value)
Method void QUrl::addEncodedQueryItem(const QByteArray &key, const QByteArray &value)
voidaddQueryItem(string key,
string value)
Method void QUrl::addQueryItem(const QString &key, const QString &value)
[const]string[]allEncodedQueryItemValues(string key)Method QList<QByteArray> QUrl::allEncodedQueryItemValues(const QByteArray &key)
[const]string[]allQueryItemValues(string key)Method QStringList QUrl::allQueryItemValues(const QString &key)
QUrlassign(const QUrl copy)Method QUrl &QUrl::operator =(const QUrl &copy)
QUrlassign(string url)Method QUrl &QUrl::operator =(const QString &url)
[const]stringauthorityMethod QString QUrl::authority()
voidauthority=(string authority)Method void QUrl::setAuthority(const QString &authority)
voidclearMethod void QUrl::clear()
voiddetachMethod void QUrl::detach()
[const]new QUrl ptrdupCreates a copy of self
[const]stringencodedFragmentMethod QByteArray QUrl::encodedFragment()
voidencodedFragment=(string fragment)Method void QUrl::setEncodedFragment(const QByteArray &fragment)
[const]stringencodedHostMethod QByteArray QUrl::encodedHost()
voidencodedHost=(string host)Method void QUrl::setEncodedHost(const QByteArray &host)
[const]stringencodedPasswordMethod QByteArray QUrl::encodedPassword()
voidencodedPassword=(string password)Method void QUrl::setEncodedPassword(const QByteArray &password)
[const]stringencodedPathMethod QByteArray QUrl::encodedPath()
voidencodedPath=(string path)Method void QUrl::setEncodedPath(const QByteArray &path)
[const]stringencodedQueryMethod QByteArray QUrl::encodedQuery()
voidencodedQuery=(string query)Method void QUrl::setEncodedQuery(const QByteArray &query)
[const]stringencodedQueryItemValue(string key)Method QByteArray QUrl::encodedQueryItemValue(const QByteArray &key)
[const]QByteArrayPair[]encodedQueryItemsMethod QList<QPair<QByteArray, QByteArray> > QUrl::encodedQueryItems()
voidencodedQueryItems=(QByteArrayPair[] query)Method void QUrl::setEncodedQueryItems(const QList<QPair<QByteArray, QByteArray> > &query)
[const]stringencodedUserNameMethod QByteArray QUrl::encodedUserName()
voidencodedUserName=(string userName)Method void QUrl::setEncodedUserName(const QByteArray &userName)
[const]stringerrorStringMethod QString QUrl::errorString()
[const]stringfragmentMethod QString QUrl::fragment()
voidfragment=(string fragment)Method void QUrl::setFragment(const QString &fragment)
[const]boolhasEncodedQueryItem(string key)Method bool QUrl::hasEncodedQueryItem(const QByteArray &key)
[const]boolhasFragmentMethod bool QUrl::hasFragment()
[const]boolhasQueryMethod bool QUrl::hasQuery()
[const]boolhasQueryItem(string key)Method bool QUrl::hasQueryItem(const QString &key)
[const]stringhostMethod QString QUrl::host()
voidhost=(string host)Method void QUrl::setHost(const QString &host)
[const]boolisDetached?Method bool QUrl::isDetached()
[const]boolisEmpty?Method bool QUrl::isEmpty()
[const]boolisParentOf?(const QUrl url)Method bool QUrl::isParentOf(const QUrl &url)
[const]boolisRelative?Method bool QUrl::isRelative()
[const]boolisValid?Method bool QUrl::isValid()
[const]stringpasswordMethod QString QUrl::password()
voidpassword=(string password)Method void QUrl::setPassword(const QString &password)
[const]stringpathMethod QString QUrl::path()
voidpath=(string path)Method void QUrl::setPath(const QString &path)
[const]intportMethod int QUrl::port()
[const]intport(int defaultPort)Method int QUrl::port(int defaultPort)
voidport=(int port)Method void QUrl::setPort(int port)
[const]stringqueryItemValue(string key)Method QString QUrl::queryItemValue(const QString &key)
[const]QStringPair[]queryItemsMethod QList<QPair<QString, QString> > QUrl::queryItems()
voidqueryItems=(QStringPair[] query)Method void QUrl::setQueryItems(const QList<QPair<QString, QString> > &query)
[const]charqueryPairDelimiterMethod char QUrl::queryPairDelimiter()
[const]charqueryValueDelimiterMethod char QUrl::queryValueDelimiter()
voidremoveAllEncodedQueryItems(string key)Method void QUrl::removeAllEncodedQueryItems(const QByteArray &key)
voidremoveAllQueryItems(string key)Method void QUrl::removeAllQueryItems(const QString &key)
voidremoveEncodedQueryItem(string key)Method void QUrl::removeEncodedQueryItem(const QByteArray &key)
voidremoveQueryItem(string key)Method void QUrl::removeQueryItem(const QString &key)
[const]QUrlresolved(const QUrl relative)Method QUrl QUrl::resolved(const QUrl &relative)
[const]stringschemeMethod QString QUrl::scheme()
voidscheme=(string scheme)Method void QUrl::setScheme(const QString &scheme)
voidsetAuthority(string authority)Method void QUrl::setAuthority(const QString &authority)
voidsetEncodedFragment(string fragment)Method void QUrl::setEncodedFragment(const QByteArray &fragment)
voidsetEncodedHost(string host)Method void QUrl::setEncodedHost(const QByteArray &host)
voidsetEncodedPassword(string password)Method void QUrl::setEncodedPassword(const QByteArray &password)
voidsetEncodedPath(string path)Method void QUrl::setEncodedPath(const QByteArray &path)
voidsetEncodedQuery(string query)Method void QUrl::setEncodedQuery(const QByteArray &query)
voidsetEncodedQueryItems(QByteArrayPair[] query)Method void QUrl::setEncodedQueryItems(const QList<QPair<QByteArray, QByteArray> > &query)
voidsetEncodedUrl(string url)Method void QUrl::setEncodedUrl(const QByteArray &url)
voidsetEncodedUrl(string url,
const QUrl_ParsingMode mode)
Method void QUrl::setEncodedUrl(const QByteArray &url, QUrl::ParsingMode mode)
voidsetEncodedUserName(string userName)Method void QUrl::setEncodedUserName(const QByteArray &userName)
voidsetFragment(string fragment)Method void QUrl::setFragment(const QString &fragment)
voidsetHost(string host)Method void QUrl::setHost(const QString &host)
voidsetPassword(string password)Method void QUrl::setPassword(const QString &password)
voidsetPath(string path)Method void QUrl::setPath(const QString &path)
voidsetPort(int port)Method void QUrl::setPort(int port)
voidsetQueryDelimiters(char valueDelimiter,
char pairDelimiter)
Method void QUrl::setQueryDelimiters(char valueDelimiter, char pairDelimiter)
voidsetQueryItems(QStringPair[] query)Method void QUrl::setQueryItems(const QList<QPair<QString, QString> > &query)
voidsetScheme(string scheme)Method void QUrl::setScheme(const QString &scheme)
voidsetUrl(string url)Method void QUrl::setUrl(const QString &url)
voidsetUrl(string url,
const QUrl_ParsingMode mode)
Method void QUrl::setUrl(const QString &url, QUrl::ParsingMode mode)
voidsetUserInfo(string userInfo)Method void QUrl::setUserInfo(const QString &userInfo)
voidsetUserName(string userName)Method void QUrl::setUserName(const QString &userName)
[const]stringtoEncoded(const QUrl_QFlags_FormattingOption options = QUrl::None)Method QByteArray QUrl::toEncoded(QFlags<QUrl::FormattingOption> options)
[const]stringtoLocalFileMethod QString QUrl::toLocalFile()
[const]stringtoString(const QUrl_QFlags_FormattingOption options = QUrl::None)Method QString QUrl::toString(QFlags<QUrl::FormattingOption> options)
[const]stringuserInfoMethod QString QUrl::userInfo()
voiduserInfo=(string userInfo)Method void QUrl::setUserInfo(const QString &userInfo)
[const]stringuserNameMethod QString QUrl::userName()
voiduserName=(string userName)Method void QUrl::setUserName(const QString &userName)

Public static methods and constants

[static,const]new QUrl_FormattingOption ptrNoneEnum constant QUrl::None
[static,const]new QUrl_FormattingOption ptrRemoveAuthorityEnum constant QUrl::RemoveAuthority
[static,const]new QUrl_FormattingOption ptrRemoveFragmentEnum constant QUrl::RemoveFragment
[static,const]new QUrl_FormattingOption ptrRemovePasswordEnum constant QUrl::RemovePassword
[static,const]new QUrl_FormattingOption ptrRemovePathEnum constant QUrl::RemovePath
[static,const]new QUrl_FormattingOption ptrRemovePortEnum constant QUrl::RemovePort
[static,const]new QUrl_FormattingOption ptrRemoveQueryEnum constant QUrl::RemoveQuery
[static,const]new QUrl_FormattingOption ptrRemoveSchemeEnum constant QUrl::RemoveScheme
[static,const]new QUrl_FormattingOption ptrRemoveUserInfoEnum constant QUrl::RemoveUserInfo
[static,const]new QUrl_ParsingMode ptrStrictModeEnum constant QUrl::StrictMode
[static,const]new QUrl_FormattingOption ptrStripTrailingSlashEnum constant QUrl::StripTrailingSlash
[static,const]new QUrl_ParsingMode ptrTolerantModeEnum constant QUrl::TolerantMode
stringfromAce(string arg1)Static method QString QUrl::fromAce(const QByteArray &)
QUrlfromEncoded(string url)Static method QUrl QUrl::fromEncoded(const QByteArray &url)
QUrlfromEncoded(string url,
const QUrl_ParsingMode mode)
Static method QUrl QUrl::fromEncoded(const QByteArray &url, QUrl::ParsingMode mode)
QUrlfromLocalFile(string localfile)Static method QUrl QUrl::fromLocalFile(const QString &localfile)
stringfromPercentEncoding(string arg1)Static method QString QUrl::fromPercentEncoding(const QByteArray &)
stringfromPunycode(string arg1)Static method QString QUrl::fromPunycode(const QByteArray &)
QUrlfromUserInput(string userInput)Static method QUrl QUrl::fromUserInput(const QString &userInput)
string[]idnWhitelistStatic method QStringList QUrl::idnWhitelist()
voididnWhitelist=(string[] arg1)Static method void QUrl::setIdnWhitelist(const QStringList &)
voidsetIdnWhitelist(string[] arg1)Static method void QUrl::setIdnWhitelist(const QStringList &)
stringtoAce(string arg1)Static method QByteArray QUrl::toAce(const QString &)
stringtoPercentEncoding(string arg1,
string exclude = QByteArray(),
string include = QByteArray())
Static method QByteArray QUrl::toPercentEncoding(const QString &, const QByteArray &exclude, const QByteArray &include)
stringtoPunycode(string arg1)Static method QByteArray QUrl::toPunycode(const QString &)

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]booldestroyed?Use of this method is deprecated. Use _destroyed? instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

[const] bool !=(const QUrl url)

Description: Method bool QUrl::operator !=(const QUrl &url)

[const] bool <(const QUrl url)

Description: Method bool QUrl::operator <(const QUrl &url)

[const] bool ==(const QUrl url)

Description: Method bool QUrl::operator ==(const QUrl &url)

[static,const] new QUrl_FormattingOption ptr None

Description: Enum constant QUrl::None

[static,const] new QUrl_FormattingOption ptr RemoveAuthority

Description: Enum constant QUrl::RemoveAuthority

[static,const] new QUrl_FormattingOption ptr RemoveFragment

Description: Enum constant QUrl::RemoveFragment

[static,const] new QUrl_FormattingOption ptr RemovePassword

Description: Enum constant QUrl::RemovePassword

[static,const] new QUrl_FormattingOption ptr RemovePath

Description: Enum constant QUrl::RemovePath

[static,const] new QUrl_FormattingOption ptr RemovePort

Description: Enum constant QUrl::RemovePort

[static,const] new QUrl_FormattingOption ptr RemoveQuery

Description: Enum constant QUrl::RemoveQuery

[static,const] new QUrl_FormattingOption ptr RemoveScheme

Description: Enum constant QUrl::RemoveScheme

[static,const] new QUrl_FormattingOption ptr RemoveUserInfo

Description: Enum constant QUrl::RemoveUserInfo

[static,const] new QUrl_ParsingMode ptr StrictMode

Description: Enum constant QUrl::StrictMode

[static,const] new QUrl_FormattingOption ptr StripTrailingSlash

Description: Enum constant QUrl::StripTrailingSlash

[static,const] new QUrl_ParsingMode ptr TolerantMode

Description: Enum constant QUrl::TolerantMode

void _assign(const QUrl other)

Description: Assigns another object to self

void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

[const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

void addEncodedQueryItem(string key,string value)

Description: Method void QUrl::addEncodedQueryItem(const QByteArray &key, const QByteArray &value)

void addQueryItem(string key,string value)

Description: Method void QUrl::addQueryItem(const QString &key, const QString &value)

[const] string[] allEncodedQueryItemValues(string key)

Description: Method QList<QByteArray> QUrl::allEncodedQueryItemValues(const QByteArray &key)

[const] string[] allQueryItemValues(string key)

Description: Method QStringList QUrl::allQueryItemValues(const QString &key)

QUrl assign(const QUrl copy)

Description: Method QUrl &QUrl::operator =(const QUrl &copy)

QUrl assign(string url)

Description: Method QUrl &QUrl::operator =(const QString &url)

[const] string authority

Description: Method QString QUrl::authority()

Python specific notes:

The object exposes a readable attribute 'authority'. This is the getter.

void authority=(string authority)

Description: Method void QUrl::setAuthority(const QString &authority)

Python specific notes:

The object exposes a writable attribute 'authority'. This is the setter.

void clear

Description: Method void QUrl::clear()

void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

[const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

Use of this method is deprecated. Use _destroyed? instead

void detach

Description: Method void QUrl::detach()

[const] new QUrl ptr dup

Description: Creates a copy of self

[const] string encodedFragment

Description: Method QByteArray QUrl::encodedFragment()

Python specific notes:

The object exposes a readable attribute 'encodedFragment'. This is the getter.

void encodedFragment=(string fragment)

Description: Method void QUrl::setEncodedFragment(const QByteArray &fragment)

Python specific notes:

The object exposes a writable attribute 'encodedFragment'. This is the setter.

[const] string encodedHost

Description: Method QByteArray QUrl::encodedHost()

Python specific notes:

The object exposes a readable attribute 'encodedHost'. This is the getter.

void encodedHost=(string host)

Description: Method void QUrl::setEncodedHost(const QByteArray &host)

Python specific notes:

The object exposes a writable attribute 'encodedHost'. This is the setter.

[const] string encodedPassword

Description: Method QByteArray QUrl::encodedPassword()

Python specific notes:

The object exposes a readable attribute 'encodedPassword'. This is the getter.

void encodedPassword=(string password)

Description: Method void QUrl::setEncodedPassword(const QByteArray &password)

Python specific notes:

The object exposes a writable attribute 'encodedPassword'. This is the setter.

[const] string encodedPath

Description: Method QByteArray QUrl::encodedPath()

Python specific notes:

The object exposes a readable attribute 'encodedPath'. This is the getter.

void encodedPath=(string path)

Description: Method void QUrl::setEncodedPath(const QByteArray &path)

Python specific notes:

The object exposes a writable attribute 'encodedPath'. This is the setter.

[const] string encodedQuery

Description: Method QByteArray QUrl::encodedQuery()

Python specific notes:

The object exposes a readable attribute 'encodedQuery'. This is the getter.

void encodedQuery=(string query)

Description: Method void QUrl::setEncodedQuery(const QByteArray &query)

Python specific notes:

The object exposes a writable attribute 'encodedQuery'. This is the setter.

[const] string encodedQueryItemValue(string key)

Description: Method QByteArray QUrl::encodedQueryItemValue(const QByteArray &key)

[const] QByteArrayPair[] encodedQueryItems

Description: Method QList<QPair<QByteArray, QByteArray> > QUrl::encodedQueryItems()

Python specific notes:

The object exposes a readable attribute 'encodedQueryItems'. This is the getter.

void encodedQueryItems=(QByteArrayPair[] query)

Description: Method void QUrl::setEncodedQueryItems(const QList<QPair<QByteArray, QByteArray> > &query)

Python specific notes:

The object exposes a writable attribute 'encodedQueryItems'. This is the setter.

[const] string encodedUserName

Description: Method QByteArray QUrl::encodedUserName()

Python specific notes:

The object exposes a readable attribute 'encodedUserName'. This is the getter.

void encodedUserName=(string userName)

Description: Method void QUrl::setEncodedUserName(const QByteArray &userName)

Python specific notes:

The object exposes a writable attribute 'encodedUserName'. This is the setter.

[const] string errorString

Description: Method QString QUrl::errorString()

[const] string fragment

Description: Method QString QUrl::fragment()

Python specific notes:

The object exposes a readable attribute 'fragment'. This is the getter.

void fragment=(string fragment)

Description: Method void QUrl::setFragment(const QString &fragment)

Python specific notes:

The object exposes a writable attribute 'fragment'. This is the setter.

[static] string fromAce(string arg1)

Description: Static method QString QUrl::fromAce(const QByteArray &)

This method is static and can be called without an instance.

[static] QUrl fromEncoded(string url)

Description: Static method QUrl QUrl::fromEncoded(const QByteArray &url)

This method is static and can be called without an instance.

[static] QUrl fromEncoded(string url,const QUrl_ParsingMode mode)

Description: Static method QUrl QUrl::fromEncoded(const QByteArray &url, QUrl::ParsingMode mode)

This method is static and can be called without an instance.

[static] QUrl fromLocalFile(string localfile)

Description: Static method QUrl QUrl::fromLocalFile(const QString &localfile)

This method is static and can be called without an instance.

[static] string fromPercentEncoding(string arg1)

Description: Static method QString QUrl::fromPercentEncoding(const QByteArray &)

This method is static and can be called without an instance.

[static] string fromPunycode(string arg1)

Description: Static method QString QUrl::fromPunycode(const QByteArray &)

This method is static and can be called without an instance.

[static] QUrl fromUserInput(string userInput)

Description: Static method QUrl QUrl::fromUserInput(const QString &userInput)

This method is static and can be called without an instance.

[const] bool hasEncodedQueryItem(string key)

Description: Method bool QUrl::hasEncodedQueryItem(const QByteArray &key)

[const] bool hasFragment

Description: Method bool QUrl::hasFragment()

[const] bool hasQuery

Description: Method bool QUrl::hasQuery()

[const] bool hasQueryItem(string key)

Description: Method bool QUrl::hasQueryItem(const QString &key)

[const] string host

Description: Method QString QUrl::host()

Python specific notes:

The object exposes a readable attribute 'host'. This is the getter.

void host=(string host)

Description: Method void QUrl::setHost(const QString &host)

Python specific notes:

The object exposes a writable attribute 'host'. This is the setter.

[static] string[] idnWhitelist

Description: Static method QStringList QUrl::idnWhitelist()

This method is static and can be called without an instance.

Python specific notes:

The object exposes a readable attribute 'idnWhitelist'. This is the getter.

[static] void idnWhitelist=(string[] arg1)

Description: Static method void QUrl::setIdnWhitelist(const QStringList &)

This method is static and can be called without an instance.

Python specific notes:

The object exposes a writable attribute 'idnWhitelist'. This is the setter.

[const] bool isDetached?

Description: Method bool QUrl::isDetached()

[const] bool isEmpty?

Description: Method bool QUrl::isEmpty()

[const] bool isParentOf?(const QUrl url)

Description: Method bool QUrl::isParentOf(const QUrl &url)

[const] bool isRelative?

Description: Method bool QUrl::isRelative()

[const] bool isValid?

Description: Method bool QUrl::isValid()

[const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

Use of this method is deprecated. Use _is_const_object? instead

[static] new QUrl new

Description: Constructor QUrl::QUrl()

This method creates an object of class QUrl.

Python specific notes:

This method is the default initializer of the object

[static] new QUrl new(string url)

Description: Constructor QUrl::QUrl(const QString &url)

This method creates an object of class QUrl.

Python specific notes:

This method is the default initializer of the object

[static] new QUrl new(string url,const QUrl_ParsingMode mode)

Description: Constructor QUrl::QUrl(const QString &url, QUrl::ParsingMode mode)

This method creates an object of class QUrl.

Python specific notes:

This method is the default initializer of the object

[static] new QUrl new(const QUrl copy)

Description: Constructor QUrl::QUrl(const QUrl &copy)

This method creates an object of class QUrl.

Python specific notes:

This method is the default initializer of the object

[const] string password

Description: Method QString QUrl::password()

Python specific notes:

The object exposes a readable attribute 'password'. This is the getter.

void password=(string password)

Description: Method void QUrl::setPassword(const QString &password)

Python specific notes:

The object exposes a writable attribute 'password'. This is the setter.

[const] string path

Description: Method QString QUrl::path()

Python specific notes:

The object exposes a readable attribute 'path'. This is the getter.

void path=(string path)

Description: Method void QUrl::setPath(const QString &path)

Python specific notes:

The object exposes a writable attribute 'path'. This is the setter.

[const] int port

Description: Method int QUrl::port()

Python specific notes:

The object exposes a readable attribute 'port'. This is the getter.

[const] int port(int defaultPort)

Description: Method int QUrl::port(int defaultPort)

Python specific notes:

This method is available as method 'port_' in Python

void port=(int port)

Description: Method void QUrl::setPort(int port)

Python specific notes:

The object exposes a writable attribute 'port'. This is the setter.

[const] string queryItemValue(string key)

Description: Method QString QUrl::queryItemValue(const QString &key)

[const] QStringPair[] queryItems

Description: Method QList<QPair<QString, QString> > QUrl::queryItems()

Python specific notes:

The object exposes a readable attribute 'queryItems'. This is the getter.

void queryItems=(QStringPair[] query)

Description: Method void QUrl::setQueryItems(const QList<QPair<QString, QString> > &query)

Python specific notes:

The object exposes a writable attribute 'queryItems'. This is the setter.

[const] char queryPairDelimiter

Description: Method char QUrl::queryPairDelimiter()

[const] char queryValueDelimiter

Description: Method char QUrl::queryValueDelimiter()

void removeAllEncodedQueryItems(string key)

Description: Method void QUrl::removeAllEncodedQueryItems(const QByteArray &key)

void removeAllQueryItems(string key)

Description: Method void QUrl::removeAllQueryItems(const QString &key)

void removeEncodedQueryItem(string key)

Description: Method void QUrl::removeEncodedQueryItem(const QByteArray &key)

void removeQueryItem(string key)

Description: Method void QUrl::removeQueryItem(const QString &key)

[const] QUrl resolved(const QUrl relative)

Description: Method QUrl QUrl::resolved(const QUrl &relative)

[const] string scheme

Description: Method QString QUrl::scheme()

Python specific notes:

The object exposes a readable attribute 'scheme'. This is the getter.

void scheme=(string scheme)

Description: Method void QUrl::setScheme(const QString &scheme)

Python specific notes:

The object exposes a writable attribute 'scheme'. This is the setter.

void setAuthority(string authority)

Description: Method void QUrl::setAuthority(const QString &authority)

Python specific notes:

The object exposes a writable attribute 'authority'. This is the setter.

void setEncodedFragment(string fragment)

Description: Method void QUrl::setEncodedFragment(const QByteArray &fragment)

Python specific notes:

The object exposes a writable attribute 'encodedFragment'. This is the setter.

void setEncodedHost(string host)

Description: Method void QUrl::setEncodedHost(const QByteArray &host)

Python specific notes:

The object exposes a writable attribute 'encodedHost'. This is the setter.

void setEncodedPassword(string password)

Description: Method void QUrl::setEncodedPassword(const QByteArray &password)

Python specific notes:

The object exposes a writable attribute 'encodedPassword'. This is the setter.

void setEncodedPath(string path)

Description: Method void QUrl::setEncodedPath(const QByteArray &path)

Python specific notes:

The object exposes a writable attribute 'encodedPath'. This is the setter.

void setEncodedQuery(string query)

Description: Method void QUrl::setEncodedQuery(const QByteArray &query)

Python specific notes:

The object exposes a writable attribute 'encodedQuery'. This is the setter.

void setEncodedQueryItems(QByteArrayPair[] query)

Description: Method void QUrl::setEncodedQueryItems(const QList<QPair<QByteArray, QByteArray> > &query)

Python specific notes:

The object exposes a writable attribute 'encodedQueryItems'. This is the setter.

void setEncodedUrl(string url)

Description: Method void QUrl::setEncodedUrl(const QByteArray &url)

void setEncodedUrl(string url,const QUrl_ParsingMode mode)

Description: Method void QUrl::setEncodedUrl(const QByteArray &url, QUrl::ParsingMode mode)

void setEncodedUserName(string userName)

Description: Method void QUrl::setEncodedUserName(const QByteArray &userName)

Python specific notes:

The object exposes a writable attribute 'encodedUserName'. This is the setter.

void setFragment(string fragment)

Description: Method void QUrl::setFragment(const QString &fragment)

Python specific notes:

The object exposes a writable attribute 'fragment'. This is the setter.

void setHost(string host)

Description: Method void QUrl::setHost(const QString &host)

Python specific notes:

The object exposes a writable attribute 'host'. This is the setter.

[static] void setIdnWhitelist(string[] arg1)

Description: Static method void QUrl::setIdnWhitelist(const QStringList &)

This method is static and can be called without an instance.

Python specific notes:

The object exposes a writable attribute 'idnWhitelist'. This is the setter.

void setPassword(string password)

Description: Method void QUrl::setPassword(const QString &password)

Python specific notes:

The object exposes a writable attribute 'password'. This is the setter.

void setPath(string path)

Description: Method void QUrl::setPath(const QString &path)

Python specific notes:

The object exposes a writable attribute 'path'. This is the setter.

void setPort(int port)

Description: Method void QUrl::setPort(int port)

Python specific notes:

The object exposes a writable attribute 'port'. This is the setter.

void setQueryDelimiters(char valueDelimiter,char pairDelimiter)

Description: Method void QUrl::setQueryDelimiters(char valueDelimiter, char pairDelimiter)

void setQueryItems(QStringPair[] query)

Description: Method void QUrl::setQueryItems(const QList<QPair<QString, QString> > &query)

Python specific notes:

The object exposes a writable attribute 'queryItems'. This is the setter.

void setScheme(string scheme)

Description: Method void QUrl::setScheme(const QString &scheme)

Python specific notes:

The object exposes a writable attribute 'scheme'. This is the setter.

void setUrl(string url)

Description: Method void QUrl::setUrl(const QString &url)

void setUrl(string url,const QUrl_ParsingMode mode)

Description: Method void QUrl::setUrl(const QString &url, QUrl::ParsingMode mode)

void setUserInfo(string userInfo)

Description: Method void QUrl::setUserInfo(const QString &userInfo)

Python specific notes:

The object exposes a writable attribute 'userInfo'. This is the setter.

void setUserName(string userName)

Description: Method void QUrl::setUserName(const QString &userName)

Python specific notes:

The object exposes a writable attribute 'userName'. This is the setter.

[static] string toAce(string arg1)

Description: Static method QByteArray QUrl::toAce(const QString &)

This method is static and can be called without an instance.

[const] string toEncoded(const QUrl_QFlags_FormattingOption options = QUrl::None)

Description: Method QByteArray QUrl::toEncoded(QFlags<QUrl::FormattingOption> options)

[const] string toLocalFile

Description: Method QString QUrl::toLocalFile()

[static] string toPercentEncoding(string arg1,string exclude = QByteArray(),string include = QByteArray())

Description: Static method QByteArray QUrl::toPercentEncoding(const QString &, const QByteArray &exclude, const QByteArray &include)

This method is static and can be called without an instance.

[static] string toPunycode(string arg1)

Description: Static method QByteArray QUrl::toPunycode(const QString &)

This method is static and can be called without an instance.

[const] string toString(const QUrl_QFlags_FormattingOption options = QUrl::None)

Description: Method QString QUrl::toString(QFlags<QUrl::FormattingOption> options)

[const] string userInfo

Description: Method QString QUrl::userInfo()

Python specific notes:

The object exposes a readable attribute 'userInfo'. This is the getter.

void userInfo=(string userInfo)

Description: Method void QUrl::setUserInfo(const QString &userInfo)

Python specific notes:

The object exposes a writable attribute 'userInfo'. This is the setter.

[const] string userName

Description: Method QString QUrl::userName()

Python specific notes:

The object exposes a readable attribute 'userName'. This is the getter.

void userName=(string userName)

Description: Method void QUrl::setUserName(const QString &userName)

Python specific notes:

The object exposes a writable attribute 'userName'. This is the setter.