Akonadi::DifferencesAlgorithmInterface Class

class Akonadi::DifferencesAlgorithmInterface

An interface to find out differences between two Akonadi objects. More...

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

Public Functions

virtual ~DifferencesAlgorithmInterface()
virtual void compare(Akonadi::AbstractDifferencesReporter *reporter, const Akonadi::Item &leftItem, const Akonadi::Item &rightItem) = 0

Detailed Description

Author: Tobias Koenig <tokoe@kde.org>

Member Function Documentation

[virtual noexcept] DifferencesAlgorithmInterface::~DifferencesAlgorithmInterface()

Destroys the differences algorithm interface.

[pure virtual] void DifferencesAlgorithmInterface::compare(Akonadi::AbstractDifferencesReporter *reporter, const Akonadi::Item &leftItem, const Akonadi::Item &rightItem)

Calculates the differences between two Akonadi objects and reports them to a reporter object.

reporter The reporter object that will be used for reporting the differences. leftItem The left-hand side item that will be compared. rightItem The right-hand side item that will be compared.