API reference - Class QUrlNotation used in Ruby API documentation Description: Binding of QUrl Sub-classes: FormattingOption, ParsingMode
Public constructors
Public methods
Public static methods and constants
Deprecated methods (protected, public, static, non-static and constructors)
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 NoneDescription: Enum constant QUrl::None [static,const] new QUrl_FormattingOption ptr RemoveAuthorityDescription: Enum constant QUrl::RemoveAuthority [static,const] new QUrl_FormattingOption ptr RemoveFragmentDescription: Enum constant QUrl::RemoveFragment [static,const] new QUrl_FormattingOption ptr RemovePasswordDescription: Enum constant QUrl::RemovePassword [static,const] new QUrl_FormattingOption ptr RemovePathDescription: Enum constant QUrl::RemovePath [static,const] new QUrl_FormattingOption ptr RemovePortDescription: Enum constant QUrl::RemovePort [static,const] new QUrl_FormattingOption ptr RemoveQueryDescription: Enum constant QUrl::RemoveQuery [static,const] new QUrl_FormattingOption ptr RemoveSchemeDescription: Enum constant QUrl::RemoveScheme [static,const] new QUrl_FormattingOption ptr RemoveUserInfoDescription: Enum constant QUrl::RemoveUserInfo [static,const] new QUrl_ParsingMode ptr StrictModeDescription: Enum constant QUrl::StrictMode [static,const] new QUrl_FormattingOption ptr StripTrailingSlashDescription: Enum constant QUrl::StripTrailingSlash [static,const] new QUrl_ParsingMode ptr TolerantModeDescription: Enum constant QUrl::TolerantMode void _assign(const QUrl other)Description: Assigns another object to self void _createDescription: 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 _destroyDescription: 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 _manageDescription: 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 _unmanageDescription: 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 ©) QUrl assign(string url)Description: Method QUrl &QUrl::operator =(const QString &url) [const] string authorityDescription: 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 clearDescription: Method void QUrl::clear() void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead void destroyDescription: 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 detachDescription: Method void QUrl::detach() [const] new QUrl ptr dupDescription: Creates a copy of self [const] string encodedFragmentDescription: 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 encodedHostDescription: 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 encodedPasswordDescription: 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 encodedPathDescription: 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 encodedQueryDescription: 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[] encodedQueryItemsDescription: 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 encodedUserNameDescription: 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 errorStringDescription: Method QString QUrl::errorString() [const] string fragmentDescription: 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 hasFragmentDescription: Method bool QUrl::hasFragment() [const] bool hasQueryDescription: Method bool QUrl::hasQuery() [const] bool hasQueryItem(string key)Description: Method bool QUrl::hasQueryItem(const QString &key) [const] string hostDescription: 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[] idnWhitelistDescription: 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 newDescription: 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 ©) This method creates an object of class QUrl. Python specific notes:This method is the default initializer of the object [const] string passwordDescription: 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 pathDescription: 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 portDescription: 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[] queryItemsDescription: 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 queryPairDelimiterDescription: Method char QUrl::queryPairDelimiter() [const] char queryValueDelimiterDescription: 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 schemeDescription: 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 toLocalFileDescription: 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 userInfoDescription: 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 userNameDescription: 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. |