KContacts::CalendarUrl Class
class KContacts::CalendarUrlClass that holds a Calendar Url (FBURL/CALADRURI/CALURI). More...
Header: | #include <KContacts/CalendarUrl> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Contacts) target_link_libraries(mytarget PRIVATE KF6::Contacts) |
Since: | 4.14.6 |
Public Types
enum | CalendarType { Unknown, FBUrl, CALUri, CALADRUri } |
List |
Public Functions
CalendarUrl() | |
CalendarUrl(KContacts::CalendarUrl::CalendarType type) | |
bool | isValid() const |
void | setType(KContacts::CalendarUrl::CalendarType type) |
void | setUrl(const QUrl &url) |
QString | toString() const |
KContacts::CalendarUrl::CalendarType | type() const |
QUrl | url() const |
bool | operator!=(const KContacts::CalendarUrl &other) const |
bool | operator==(const KContacts::CalendarUrl &other) const |
Related Non-Members
QDataStream & | operator<<(QDataStream &stream, const KContacts::CalendarUrl &object) |
QDataStream & | operator>>(QDataStream &stream, KContacts::CalendarUrl &object) |
Detailed Description
See also https://datatracker.ietf.org/doc/html/rfc6350#section-6.9.
Member Type Documentation
enum CalendarUrl::CalendarType
Constant | Value | Description |
---|---|---|
KContacts::CalendarUrl::Unknown | 0 | Unknow calendar type |
KContacts::CalendarUrl::FBUrl | 1 | Specify the calendar containing the FreeBusy time information |
KContacts::CalendarUrl::CALUri | 2 | Specify the calendar associated with the contact |
KContacts::CalendarUrl::CALADRUri | 3 | Specify the calendar which should received the sheduling requests |
CalendarUrl::List
Member Function Documentation
CalendarUrl::CalendarUrl()
CalendarUrl::CalendarUrl(KContacts::CalendarUrl::CalendarType type)
bool CalendarUrl::isValid() const
void CalendarUrl::setType(KContacts::CalendarUrl::CalendarType type)
See also type().
void CalendarUrl::setUrl(const QUrl &url)
See also url().
QString CalendarUrl::toString() const
KContacts::CalendarUrl::CalendarType CalendarUrl::type() const
See also setType().
QUrl CalendarUrl::url() const
See also setUrl().