25 #ifndef DIGIKAM_ITEM_INFO_CACHE_H
26 #define DIGIKAM_ITEM_INFO_CACHE_H
33 #include <QExplicitlySharedDataPointer>
60 QExplicitlySharedDataPointer<ItemInfoData>
infoForId(qlonglong
id);
66 void dropInfo(
const QExplicitlySharedDataPointer<ItemInfoData>& infoPtr);
73 void cacheByName(
const QExplicitlySharedDataPointer<ItemInfoData>& infoPtr);
80 QExplicitlySharedDataPointer<ItemInfoData>
infoForPath(
int albumRootId,
81 const QString& relativePath,
115 QMultiHash<QString, ItemInfoData*> m_nameHash;
116 QHash<qlonglong, ItemInfoData*> m_infoHash;
117 QHash<ItemInfoData*, QString> m_dataHash;
118 volatile bool m_needUpdateAlbums;
119 volatile bool m_needUpdateGrouped;
Definition: coredbchangesets.h:262
Definition: coredbchangesets.h:48
Definition: coredbchangesets.h:80
Definition: iteminfocache.h:47
ItemInfoCache()
Definition: iteminfocache.cpp:40
QExplicitlySharedDataPointer< ItemInfoData > infoForPath(int albumRootId, const QString &relativePath, const QString &name)
Definition: iteminfocache.cpp:137
int getImageGroupedCount(qlonglong id)
Definition: iteminfocache.cpp:85
QString albumRelativePath(int albumId)
Definition: iteminfocache.cpp:207
void dropInfo(const QExplicitlySharedDataPointer< ItemInfoData > &infoPtr)
Definition: iteminfocache.cpp:167
void cacheByName(const QExplicitlySharedDataPointer< ItemInfoData > &infoPtr)
Definition: iteminfocache.cpp:120
~ItemInfoCache() override
Definition: iteminfocache.cpp:63
void invalidate()
Definition: iteminfocache.cpp:221
QExplicitlySharedDataPointer< ItemInfoData > infoForId(qlonglong id)
Definition: iteminfocache.cpp:100
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43