NAME

Qt::Core::QUrl

PUBLIC METHODS

QUrl()
QUrl(const QString & url)
QUrl(const QUrl & copy)
QUrl(const QString & url, QUrl::ParsingMode mode)
~QUrl()
void addEncodedQueryItem(const QByteArray & key, const QByteArray & value)
void addQueryItem(const QString & key, const QString & value)
QStringList allQueryItemValues(const QString & key)
QString authority()
void clear()
void detach()
QByteArray encodedFragment()
QByteArray encodedHost()
QByteArray encodedPassword()
QByteArray encodedPath()
QByteArray encodedQuery()
QByteArray encodedQueryItemValue(const QByteArray & key)
QByteArray encodedUserName()
QString errorString()
QString fragment()
static QString fromAce(const QByteArray & arg0)
static QUrl fromEncoded(const QByteArray & url)
static QUrl fromEncoded(const QByteArray & url, QUrl::ParsingMode mode)
static QUrl fromLocalFile(const QString & localfile)
static QString fromPercentEncoding(const QByteArray & arg0)
static QString fromPunycode(const QByteArray & arg0)
static QUrl fromUserInput(const QString & userInput)
bool hasEncodedQueryItem(const QByteArray & key)
bool hasFragment()
bool hasQuery()
bool hasQueryItem(const QString & key)
QString host()
static QStringList idnWhitelist()
bool isDetached()
bool isEmpty()
bool isParentOf(const QUrl & url)
bool isRelative()
bool isValid()
bool operator!=(const QUrl & url)
bool operator<(const QUrl & url)
QUrl & operator=(const QUrl & copy)
QUrl & operator=(const QString & url)
bool operator==(const QUrl & url)
QString password()
QString path()
int port()
int port(int defaultPort)
QString queryItemValue(const QString & key)
char queryPairDelimiter()
char queryValueDelimiter()
void removeAllEncodedQueryItems(const QByteArray & key)
void removeAllQueryItems(const QString & key)
void removeEncodedQueryItem(const QByteArray & key)
void removeQueryItem(const QString & key)
QUrl resolved(const QUrl & relative)
QString scheme()
void setAuthority(const QString & authority)
void setEncodedFragment(const QByteArray & fragment)
void setEncodedHost(const QByteArray & host)
void setEncodedPassword(const QByteArray & password)
void setEncodedPath(const QByteArray & path)
void setEncodedQuery(const QByteArray & query)
void setEncodedUrl(const QByteArray & url)
void setEncodedUrl(const QByteArray & url, QUrl::ParsingMode mode)
void setEncodedUserName(const QByteArray & userName)
void setFragment(const QString & fragment)
void setHost(const QString & host)
static void setIdnWhitelist(const QStringList & arg0)
void setPassword(const QString & password)
void setPath(const QString & path)
void setPort(int port)
void setQueryDelimiters(char valueDelimiter, char pairDelimiter)
void setScheme(const QString & scheme)
void setUrl(const QString & url)
void setUrl(const QString & url, QUrl::ParsingMode mode)
void setUserInfo(const QString & userInfo)
void setUserName(const QString & userName)
static QByteArray toAce(const QString & arg0)
QByteArray toEncoded(QFlags<QUrl::FormattingOption> options)
QByteArray toEncoded(QFlags<QUrl::FormattingOption> options = QUrl::None)
QString toLocalFile()
static QByteArray toPercentEncoding(const QString & arg0, const QByteArray & exclude, const QByteArray & include)
static QByteArray toPercentEncoding(const QString & arg0, const QByteArray & exclude, const QByteArray & include = QByteArray())
static QByteArray toPercentEncoding(const QString & arg0, const QByteArray & exclude = QByteArray(), const QByteArray & include = QByteArray())
static QByteArray toPunycode(const QString & arg0)
QString toString(QFlags<QUrl::FormattingOption> options)
QString toString(QFlags<QUrl::FormattingOption> options = QUrl::None)
QString userInfo()
QString userName()

ENUM VALUES

TolerantMode
StrictMode
None
RemoveScheme
RemovePassword
RemoveUserInfo
RemovePort
RemoveAuthority
RemovePath
RemoveQuery
RemoveFragment
StripTrailingSlash

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html