KContacts::CalendarUrl Class

class KContacts::CalendarUrl

Class 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
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

ConstantValueDescription
KContacts::CalendarUrl::Unknown0Unknow calendar type
KContacts::CalendarUrl::FBUrl1Specify the calendar containing the FreeBusy time information
KContacts::CalendarUrl::CALUri2Specify the calendar associated with the contact
KContacts::CalendarUrl::CALADRUri3Specify 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().

bool CalendarUrl::operator!=(const KContacts::CalendarUrl &other) const

bool CalendarUrl::operator==(const KContacts::CalendarUrl &other) const

Related Non-Members

QDataStream &operator<<(QDataStream &stream, const KContacts::CalendarUrl &object)

QDataStream &operator>>(QDataStream &stream, KContacts::CalendarUrl &object)