MailCommon::FilterImporterPathCache Class
class MailCommon::FilterImporterPathCacheThe FilterImporterPathCache class. More...
| Header: | #include <MailCommon/FilterImporterPathCache> |
| CMake: | find_package(KPim6MailCommon REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::MailCommon) |
| Inherits: | QObject |
Public Functions
| FilterImporterPathCache(QObject *parent = nullptr) | |
| virtual | ~FilterImporterPathCache() override |
| void | clear() |
| Akonadi::Collection | convertedFilterPath(const QString &original) |
| int | count() const |
| void | insert(const QString &original, const Akonadi::Collection &newValue) |
Static Public Members
| MailCommon::FilterImporterPathCache * | self() |
Detailed Description
Author: Laurent Montel <montel@kde.org>
Member Function Documentation
[explicit] FilterImporterPathCache::FilterImporterPathCache(QObject *parent = nullptr)
Constructs a path cache with the given parent.
[override virtual noexcept] FilterImporterPathCache::~FilterImporterPathCache()
Destroys the path cache.
void FilterImporterPathCache::clear()
Clears the cache.
Akonadi::Collection FilterImporterPathCache::convertedFilterPath(const QString &original)
Returns the collection associated with the imported folder path original.
int FilterImporterPathCache::count() const
Returns the number of cached paths.
void FilterImporterPathCache::insert(const QString &original, const Akonadi::Collection &newValue)
Associates the imported folder path original with the collection newValue.
[static] MailCommon::FilterImporterPathCache *FilterImporterPathCache::self()
Returns the global instance of the path cache.