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
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
QAction * copy(const QObject *recvr, const char *slot, QObject *parent)
QDebug & nospace()
QDebug & space()
bool isRelative() const const
bool isValid() const const
QString url(FormattingOptions options) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:41 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:41 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.