32class DIGIKAM_DATABASE_EXPORT
CoreDbUrl :
public QUrl
53 static CoreDbUrl fromFileUrl(
const QUrl& fileUrl,
54 const QUrl& albumRoot,
58 static CoreDbUrl fromFileUrl(
const QUrl& fileUrl,
59 const QUrl& albumRoot,
67 static CoreDbUrl fromAlbumAndName(
const QString& name,
69 const QUrl& albumRoot,
73 static CoreDbUrl fromAlbumAndName(
const QString& name,
75 const QUrl& albumRoot,
88 static CoreDbUrl fromTagIds(
const QList<int>& tagIds,
100 static CoreDbUrl fromDateForMonth(
const QDate& date,
107 static CoreDbUrl fromDateForYear(
const QDate& date,
115 static CoreDbUrl fromDateRange(
const QDate& startDate,
const QDate& endDate,
123 static CoreDbUrl fromAreaRange(
const qreal lat1,
const qreal lng1,
124 const qreal lat2,
const qreal lng2,
135 explicit CoreDbUrl(
const QUrl& digikamUrl);
147 bool isAlbumUrl()
const;
148 bool isTagUrl()
const;
149 bool isDateUrl()
const;
150 bool isSearchUrl()
const;
151 bool isMapImagesUrl()
const;
176 QUrl albumRoot()
const;
182 QString albumRootPath()
const;
187 int albumRootId()
const;
193 QString album()
const;
198 QString name()
const;
203 QUrl fileUrl()
const;
216 QList<int> tagIds()
const;
223 QDate startDate()
const;
228 QDate endDate()
const;
236 bool areaCoordinates(
double* lat1,
double* lat2,
double* lon1,
double* lon2)
const;
243 int searchId()
const;
247 CoreDbUrl& operator=(
const QUrl& digikamalbumsUrl);
250 bool operator==(
const QUrl& digikamalbumsUrl)
const;