24 #ifndef DIGIKAM_CORE_DB_URL_H
25 #define DIGIKAM_CORE_DB_URL_H
42 class DIGIKAM_DATABASE_EXPORT
CoreDbUrl :
public QUrl
63 static CoreDbUrl fromFileUrl(
const QUrl& fileUrl,
64 const QUrl& albumRoot,
68 static CoreDbUrl fromFileUrl(
const QUrl& fileUrl,
69 const QUrl& albumRoot,
77 static CoreDbUrl fromAlbumAndName(
const QString& name,
79 const QUrl& albumRoot,
83 static CoreDbUrl fromAlbumAndName(
const QString& name,
85 const QUrl& albumRoot,
110 static CoreDbUrl fromDateForMonth(
const QDate& date,
117 static CoreDbUrl fromDateForYear(
const QDate& date,
125 static CoreDbUrl fromDateRange(
const QDate& startDate,
const QDate& endDate,
133 static CoreDbUrl fromAreaRange(
const qreal lat1,
const qreal lng1,
134 const qreal lat2,
const qreal lng2,
145 explicit CoreDbUrl(
const QUrl& digikamUrl);
156 bool isAlbumUrl()
const;
157 bool isTagUrl()
const;
158 bool isDateUrl()
const;
159 bool isSearchUrl()
const;
160 bool isMapImagesUrl()
const;
185 QUrl albumRoot()
const;
191 QString albumRootPath()
const;
196 int albumRootId()
const;
202 QString album()
const;
207 QString name()
const;
212 QUrl fileUrl()
const;
232 QDate startDate()
const;
237 QDate endDate()
const;
245 bool areaCoordinates(
double* lat1,
double* lat2,
double* lon1,
double* lon2)
const;
252 int searchId()
const;
256 CoreDbUrl& operator=(
const QUrl& digikamalbumsUrl);
259 bool operator==(
const QUrl& digikamalbumsUrl)
const;
static DbEngineParameters parameters()
Definition: coredbaccess.cpp:190
Definition: coredburl.h:43
Definition: dbengineparameters.h:49
Definition: datefolderview.cpp:43
bool operator==(const SearchTextSettings &a, const SearchTextSettings &b)
Definition: searchtextbar.cpp:49