24 #ifndef DIGIKAM_COLLECTION_MANAGER_H
25 #define DIGIKAM_COLLECTION_MANAGER_H
30 #include <QStringList>
41 class CollectionLocation;
42 class AlbumRootChangeset;
68 static void cleanUp();
75 void setWatchDisabled();
85 void deviceAdded(
const QString&);
86 void deviceRemoved(
const QString&);
87 void accessibilityChanged(
bool,
const QString&);
96 void clearLocations();
98 Q_PRIVATE_SLOT(d,
void slotTriggerUpdateVolumesList())
102 void triggerUpdateVolumesList();
126 CollectionLocation addLocation(const QUrl& fileUrl, const QString& label = QString());
127 CollectionLocation addNetworkLocation(const QUrl& fileUrl, const QString& label = QString());
129 const QUrl& fileUrl, const QString& label = QString());
138 QString* message =
nullptr, QString* suggestedMessageIconName =
nullptr);
140 QString* message =
nullptr, QString* suggestedMessageIconName =
nullptr);
177 QString* const technicalDescription,
178 QStringList* const candidateIdentifiers,
179 QStringList* const candidateDescriptions);
223 void updateLocations();
262 QStringList allAvailableAlbumRootPaths();
268 QString albumRootPath(
int id);
274 QString albumRootLabel(
int id);
282 QUrl albumRoot(const QUrl& fileUrl);
283 QString albumRootPath(const QUrl& fileUrl);
284 QString albumRootPath(const QString& filePath);
295 bool isAlbumRoot(const QUrl& fileUrl);
300 bool isAlbumRoot(const QString& filePath);
314 QString album(const QUrl& fileUrl);
315 QString album(const QString& filePath);
327 QString oneAlbumRootPath();
Definition: coredbchangesets.h:337
Definition: collectionlocation.h:41
Definition: collectionmanager_p.h:214
Definition: collectionmanager.h:45
LocationCheckResult
Definition: collectionmanager.h:51
@ LocationHasProblems
Location can be added, but the user should be aware of a problem.
Definition: collectionmanager.h:59
@ LocationAllRight
All right. The accompanying message may be empty.
Definition: collectionmanager.h:56
@ LocationInvalidCheck
The check did not succeed, status unknown.
Definition: collectionmanager.h:53
Definition: coredbaccess.h:56
Definition: coredbwatch.h:44
Definition: piwigotalker.h:48
std::vector< T > location(const std::vector< T > &shape, unsigned long idx)
Definition: shapepredictor.h:109
Definition: datefolderview.cpp:43