QUrl

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
@Q_MOVABLE_TYPE
@QMetaType.Type.QUrl
struct QUrl {}

Constructors

this
this(const(QUrl) copy)
Undocumented in source.
this
this(const(QString) url, ParsingMode mode)
Undocumented in source.
this
this(const(QString) url, ParsingMode mode)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

ComponentFormattingOptions
alias ComponentFormattingOptions = QFlags!(ComponentFormattingOption)
Undocumented in source.
DataPtr
alias DataPtr = QUrlPrivate*
Undocumented in source.
FormattingOptions
alias FormattingOptions = QUrlTwoFlags!(UrlFormattingOption, ComponentFormattingOption)
Undocumented in source.
UserInputResolutionOptions
alias UserInputResolutionOptions = QFlags!(UserInputResolutionOption)
Undocumented in source.

Enums

ComponentFormattingOption
enum ComponentFormattingOption
Undocumented in source.
ParsingMode
enum ParsingMode
Undocumented in source.
UrlFormattingOption
enum UrlFormattingOption
Undocumented in source.
UserInputResolutionOption
enum UserInputResolutionOption
Undocumented in source.

Functions

adjusted
QUrl adjusted(FormattingOptions options)
Undocumented in source.
authority
QString authority(ComponentFormattingOptions options)
Undocumented in source.
clear
void clear()
Undocumented in source.
data_ptr
DataPtr data_ptr()
Undocumented in source. Be warned that the author may not have intended to support it.
detach
void detach()
Undocumented in source.
errorString
QString errorString()
Undocumented in source.
fileName
QString fileName(ComponentFormattingOptions options)
Undocumented in source.
fragment
QString fragment(ComponentFormattingOptions options)
Undocumented in source.
hasFragment
bool hasFragment()
Undocumented in source.
hasQuery
bool hasQuery()
Undocumented in source.
host
QString host(ComponentFormattingOptions )
Undocumented in source.
isDetached
bool isDetached()
Undocumented in source.
isEmpty
bool isEmpty()
Undocumented in source.
isLocalFile
bool isLocalFile()
Undocumented in source.
isParentOf
bool isParentOf(const(QUrl) url)
Undocumented in source.
isRelative
bool isRelative()
Undocumented in source.
isValid
bool isValid()
Undocumented in source.
matches
bool matches(const(QUrl) url, FormattingOptions options)
Undocumented in source.
password
QString password(ComponentFormattingOptions )
Undocumented in source.
path
QString path(ComponentFormattingOptions options)
Undocumented in source.
port
int port(int defaultPort)
Undocumented in source.
query
QString query(ComponentFormattingOptions )
Undocumented in source.
resolved
QUrl resolved(const(QUrl) relative)
Undocumented in source.
scheme
QString scheme()
Undocumented in source.
setAuthority
void setAuthority(const(QString) authority, ParsingMode mode)
Undocumented in source.
setFragment
void setFragment(const(QString) fragment, ParsingMode mode)
Undocumented in source.
setHost
void setHost(const(QString) host, ParsingMode mode)
Undocumented in source.
setPassword
void setPassword(const(QString) password, ParsingMode mode)
Undocumented in source.
setPath
void setPath(const(QString) path, ParsingMode mode)
Undocumented in source.
setPort
void setPort(int port)
Undocumented in source.
setQuery
void setQuery(const(QString) query, ParsingMode mode)
Undocumented in source.
setQuery
void setQuery(const(QUrlQuery) query)
Undocumented in source.
setScheme
void setScheme(const(QString) scheme)
Undocumented in source.
setUrl
void setUrl(const(QString) url, ParsingMode mode)
Undocumented in source.
setUserInfo
void setUserInfo(const(QString) userInfo, ParsingMode mode)
Undocumented in source.
setUserName
void setUserName(const(QString) userName, ParsingMode mode)
Undocumented in source.
toLocalFile
QString toLocalFile()
Undocumented in source.
topLevelDomain
QString topLevelDomain(ComponentFormattingOptions options)
Undocumented in source.
userInfo
QString userInfo(ComponentFormattingOptions options)
Undocumented in source.
userName
QString userName(ComponentFormattingOptions options)
Undocumented in source.

Static functions

fromAce
QString fromAce(const(QByteArray) )
Undocumented in source.
fromEncoded
QUrl fromEncoded(const(QByteArray) url, ParsingMode mode)
Undocumented in source.
fromLocalFile
QUrl fromLocalFile(const(QString) localfile)
Undocumented in source.
fromPercentEncoding
QString fromPercentEncoding(const(QByteArray) )
Undocumented in source.
fromStringList
QList!(QUrl) fromStringList(const(QStringList) uris, ParsingMode mode)
Undocumented in source.
fromUserInput
QUrl fromUserInput(const(QString) userInput)
Undocumented in source.
fromUserInput
QUrl fromUserInput(const(QString) userInput, const(QString) workingDirectory, UserInputResolutionOptions options)
Undocumented in source.
idnWhitelist
QStringList idnWhitelist()
Undocumented in source.
setIdnWhitelist
void setIdnWhitelist(const(QStringList) )
Undocumented in source.
toAce
QByteArray toAce(const(QString) )
Undocumented in source.
toPercentEncoding
QByteArray toPercentEncoding(const(QString) , const(QByteArray) exclude, const(QByteArray) include)
Undocumented in source.
toStringList
QStringList toStringList(const(QList!(QUrl)) uris, FormattingOptions options)
Undocumented in source.

Meta