KProperty
KPropertyComposedUrl.cpp
A data structure that composes absolute and relative URLs.
Definition KPropertyComposedUrl.h:36
QUrl absoluteUrl() const
Returns absolute URL that has been set for this object.
Definition KPropertyComposedUrl.cpp:132
QUrl baseUrl() const
Returns the base URL (absolute) or empty URL if there is no absolute base URL specified.
Definition KPropertyComposedUrl.cpp:117
KPropertyComposedUrl & operator=(const KPropertyComposedUrl &other)
Assigns other to this KPropertyComposedUrl.
Definition KPropertyComposedUrl.cpp:84
QString relativePath() const
Returns relative path that has been set for this object.
Definition KPropertyComposedUrl.cpp:146
QUrl value() const
Returns URL value computed from base URL, absolute URL and relative path, whichever is defined.
Definition KPropertyComposedUrl.cpp:97
bool operator==(const KPropertyComposedUrl &other) const
Return true if this KPropertyComposedUrl equals to other.
Definition KPropertyComposedUrl.cpp:92
void setRelativePath(const QString &relativePath)
Sets a new relative path for this object.
Definition KPropertyComposedUrl.cpp:151
void setAbsoluteUrl(const QUrl &absoluteUrl)
Sets a new absolute URL.
Definition KPropertyComposedUrl.cpp:137
bool isValid() const
Return true if the URL value that can be computed (from base URL, absolute URL and relative path) is ...
Definition KPropertyComposedUrl.cpp:160
KPropertyComposedUrl()
Constructs empty and invalid composed URL.
Definition KPropertyComposedUrl.cpp:55
const QList< QKeySequence > & copy()
bool operator==(const StyleDelim &l, const StyleDelim &r)
QDebug & nospace()
QDebug & space()
bool endsWith(QChar c, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
void clear()
bool isRelative() const const
bool isValid() const const
QString path(ComponentFormattingOptions options) const const
QUrl resolved(const QUrl &relative) const const
void setPath(const QString &path, ParsingMode mode)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.