KContacts::ResourceLocatorUrl
#include <resourcelocatorurl.h>
Public Types | |
typedef QList< ResourceLocatorUrl > | List |
typedef QFlags< TypeFlag > | Type |
enum | TypeFlag { Unknown = 0 , Home = 1 , Work = 2 , Profile = 4 , Ftp = 8 , Reservation = 16 , AppInstallPage = 32 , Other = 64 } |
Properties | |
bool | isPreferred |
bool | isValid |
Type | type |
QUrl | url |
Public Member Functions | |
ResourceLocatorUrl (const ResourceLocatorUrl &other) | |
bool | isPreferred () const |
bool | isValid () const |
bool | operator!= (const ResourceLocatorUrl &other) const |
ResourceLocatorUrl & | operator= (const ResourceLocatorUrl &other) |
bool | operator== (const ResourceLocatorUrl &other) const |
void | setPreferred (bool preferred) |
void | setType (Type type) |
void | setUrl (const QUrl &url) |
QString | toString () const |
Type | type () const |
QUrl | url () const |
Detailed Description
Member Typedef Documentation
◆ List
Definition at line 47 of file resourcelocatorurl.h.
◆ Type
Stores a combination of TypeFlag values.
Definition at line 67 of file resourcelocatorurl.h.
Member Enumeration Documentation
◆ TypeFlag
URL types.
- Since
- 5.12
- See also
- Type
Definition at line 53 of file resourcelocatorurl.h.
Property Documentation
◆ isPreferred
|
readwrite |
Definition at line 39 of file resourcelocatorurl.h.
◆ isValid
|
read |
Definition at line 37 of file resourcelocatorurl.h.
◆ type
|
readwrite |
Definition at line 38 of file resourcelocatorurl.h.
◆ url
|
readwrite |
Definition at line 36 of file resourcelocatorurl.h.
Constructor & Destructor Documentation
◆ ResourceLocatorUrl() [1/2]
ResourceLocatorUrl::ResourceLocatorUrl | ( | ) |
Definition at line 35 of file resourcelocatorurl.cpp.
◆ ResourceLocatorUrl() [2/2]
ResourceLocatorUrl::ResourceLocatorUrl | ( | const ResourceLocatorUrl & | other | ) |
Definition at line 40 of file resourcelocatorurl.cpp.
◆ ~ResourceLocatorUrl()
ResourceLocatorUrl::~ResourceLocatorUrl | ( | ) |
Definition at line 45 of file resourcelocatorurl.cpp.
Member Function Documentation
◆ isPreferred()
bool ResourceLocatorUrl::isPreferred | ( | ) | const |
Returns whether this is the preferred website.
- Since
- 5.12
Definition at line 108 of file resourcelocatorurl.cpp.
◆ isValid()
bool ResourceLocatorUrl::isValid | ( | ) | const |
Definition at line 193 of file resourcelocatorurl.cpp.
◆ operator!=()
bool ResourceLocatorUrl::operator!= | ( | const ResourceLocatorUrl & | other | ) | const |
Definition at line 160 of file resourcelocatorurl.cpp.
◆ operator=()
ResourceLocatorUrl & ResourceLocatorUrl::operator= | ( | const ResourceLocatorUrl & | other | ) |
Definition at line 165 of file resourcelocatorurl.cpp.
◆ operator==()
bool ResourceLocatorUrl::operator== | ( | const ResourceLocatorUrl & | other | ) | const |
Definition at line 155 of file resourcelocatorurl.cpp.
◆ setPreferred()
void ResourceLocatorUrl::setPreferred | ( | bool | preferred | ) |
Sets that this is the preferred website.
- Since
- 5.12
Definition at line 123 of file resourcelocatorurl.cpp.
◆ setType()
void ResourceLocatorUrl::setType | ( | ResourceLocatorUrl::Type | type | ) |
◆ setUrl()
void ResourceLocatorUrl::setUrl | ( | const QUrl & | url | ) |
Definition at line 198 of file resourcelocatorurl.cpp.
◆ toString()
QString ResourceLocatorUrl::toString | ( | ) | const |
Definition at line 174 of file resourcelocatorurl.cpp.
◆ type()
ResourceLocatorUrl::Type ResourceLocatorUrl::type | ( | ) | const |
◆ url()
QUrl ResourceLocatorUrl::url | ( | ) | const |
Definition at line 203 of file resourcelocatorurl.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.