Akonadi::GidExtractorInterface Class

class Akonadi::GidExtractorInterface

An interface to extract the GID of an object contained in an akonadi item. More...

Header: #include <Akonadi/GidExtractorInterface>
CMake: find_package(KPim6Akonadi REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::AkonadiCore)

Public Functions

virtual ~GidExtractorInterface()
virtual QString extractGid(const Akonadi::Item &item) const = 0

Protected Functions

Detailed Description

Author: Christian Mollekopf <mollekopf@kolabsys.com>

Member Function Documentation

[explicit constexpr noexcept protected default] GidExtractorInterface::GidExtractorInterface()

[virtual noexcept] GidExtractorInterface::~GidExtractorInterface()

Destructor.

[pure virtual] QString GidExtractorInterface::extractGid(const Akonadi::Item &item) const

Extracts the globally unique id of \p item

If you want to clear the gid from the database return QString("").