KDAV::DavPushDontNotify Class

class KDAV::DavPushDontNotify

A helper class to store DavPush DontNotify data. More...

Header: #include <KDAV/DavPushDontNotify>
CMake: find_package(KF6 REQUIRED COMPONENTS DAV)
target_link_libraries(mytarget PRIVATE KF6::DAV)
Since: 6.31

Public Functions

DavPushDontNotify()
QString davHeader() const
QString davHeaderValue() const
QStringList ignoredUrls() const
bool isIgnoreAll() const
bool isNull() const
void setIgnoreAll(bool ignoreAll)
void setIgnoredUrls(const QStringList &ignoredUrls)

Static Public Members

QString davHeaderName()
KDAV::DavPushDontNotify ignoreAll()
KDAV::DavPushDontNotify ignoreUrls(const QStringList &urls)

Detailed Description

See also https://bitfireat.github.io/webdav-push/draft-bitfire-webdav-push-00.html#name-suppressing-notifications.

Member Function Documentation

DavPushDontNotify::DavPushDontNotify()

Creates an empty DavPushDontNotify.

QString DavPushDontNotify::davHeader() const

Returns the header for this DavPush DontNotify.

[static] QString DavPushDontNotify::davHeaderName()

Returns the header name for DavPushDontNotify

QString DavPushDontNotify::davHeaderValue() const

Returns the header value for this DavPush DontNotify.

[static] KDAV::DavPushDontNotify DavPushDontNotify::ignoreAll()

Returns a DavPushDontNotify that ignores all notifications.

See also setIgnoreAll().

[static] KDAV::DavPushDontNotify DavPushDontNotify::ignoreUrls(const QStringList &urls)

Returns a DavPushDontNotify that ignores the given urls.

QStringList DavPushDontNotify::ignoredUrls() const

Returns the list of ignored URLs.

See also setIgnoredUrls().

bool DavPushDontNotify::isIgnoreAll() const

Returns whether all notifications are ignored.

bool DavPushDontNotify::isNull() const

Returns whether this DavPushDontNotify contains any data.

void DavPushDontNotify::setIgnoreAll(bool ignoreAll)

Ignore all notifications (uses the '*' pattern) Note: this function clears the list of ignored URLs

See also ignoreAll().

void DavPushDontNotify::setIgnoredUrls(const QStringList &ignoredUrls)

Ignores the given URLs. Note: this function disables the ignore-all

See also ignoredUrls().