"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/libs/database/coredb/coredburl.h" between
digikam-6.2.0.tar.xz and digikam-6.3.0.tar.xz

About: digiKam is an advanced digital photo management application.

coredburl.h  (digikam-6.2.0.tar.xz):coredburl.h  (digikam-6.3.0.tar.xz)
skipping to change at line 64 skipping to change at line 64
/** /**
* Create a digikamalbums:/ URL from a file:// URL. * Create a digikamalbums:/ URL from a file:// URL.
* The file URL can point to a file or a directory (an album in this case). * The file URL can point to a file or a directory (an album in this case).
* The additional information stored in the URL need to be supplied as well : * The additional information stored in the URL need to be supplied as well :
* - The album root in which the entity pointed to is stored. * - The album root in which the entity pointed to is stored.
* This is the left part of the file URL. * This is the left part of the file URL.
* (if the file is "/media/fotos/Summer 2007/001.jpg", the album root may be "/media/fotos") * (if the file is "/media/fotos/Summer 2007/001.jpg", the album root may be "/media/fotos")
* - The parameters of the database that is referenced * - The parameters of the database that is referenced
*/ */
static CoreDbUrl fromFileUrl(const QUrl& fileUrl, static CoreDbUrl fromFileUrl(const QUrl& fileUrl,
const QUrl& albumRoot, const QUrl& albumRoot,
int albumRootId, int albumRootId,
const DbEngineParameters& parameters = CoreDb const DbEngineParameters& parameters = CoreDbAc
Access::parameters()); cess::parameters());
static CoreDbUrl fromFileUrl(const QUrl& fileUrl, static CoreDbUrl fromFileUrl(const QUrl& fileUrl,
const QUrl& albumRoot, const QUrl& albumRoot,
const DbEngineParameters& parameters = CoreDb const DbEngineParameters& parameters = CoreDbAc
Access::parameters()); cess::parameters());
/** /**
* Create a digikamalbums:/ url from an album name and an image in this albu m. * Create a digikamalbums:/ url from an album name and an image in this albu m.
* If name is empty, the album is referenced. * If name is empty, the album is referenced.
* Other parameters as above. * Other parameters as above.
*/ */
static CoreDbUrl fromAlbumAndName(const QString& name, static CoreDbUrl fromAlbumAndName(const QString& name,
const QString& album, const QString& album,
const QUrl& albumRoot, const QUrl& albumRoot,
int albumRootId, int albumRootId,
const DbEngineParameters& parameters = C const DbEngineParameters& parameters = Cor
oreDbAccess::parameters()); eDbAccess::parameters());
static CoreDbUrl fromAlbumAndName(const QString& name, static CoreDbUrl fromAlbumAndName(const QString& name,
const QString& album, const QString& album,
const QUrl& albumRoot, const QUrl& albumRoot,
const DbEngineParameters& parameters = C const DbEngineParameters& parameters = Cor
oreDbAccess::parameters()); eDbAccess::parameters());
/** /**
* Create an empty digikamalbums:/ url * Create an empty digikamalbums:/ url
*/ */
static CoreDbUrl albumUrl(const DbEngineParameters& parameters = CoreDbAcces s::parameters()); static CoreDbUrl albumUrl(const DbEngineParameters& parameters = CoreDbAcces s::parameters());
/** /**
* Create a digikamtags:/ url from a list of tag IDs, where this list is the tag hierarchy * Create a digikamtags:/ url from a list of tag IDs, where this list is the tag hierarchy
* of the referenced tag, with the topmost parent first, and the tag last in the list. * of the referenced tag, with the topmost parent first, and the tag last in the list.
* An empty list references the root tag. * An empty list references the root tag.
*/ */
static CoreDbUrl fromTagIds(const QList<int>& tagIds, static CoreDbUrl fromTagIds(const QList<int>& tagIds,
const DbEngineParameters& parameters = CoreDbA ccess::parameters()); const DbEngineParameters& parameters = CoreDbAcc ess::parameters());
/** /**
* Create an empty digikamdates:/ url * Create an empty digikamdates:/ url
*/ */
static CoreDbUrl dateUrl(const DbEngineParameters& parameters = CoreDbAccess ::parameters()); static CoreDbUrl dateUrl(const DbEngineParameters& parameters = CoreDbAccess ::parameters());
/** /**
* Create a digikamdates:/ url for the month of the given date. * Create a digikamdates:/ url for the month of the given date.
* (The whole month of the given date will included in the referenced time s pan) * (The whole month of the given date will included in the referenced time s pan)
*/ */
static CoreDbUrl fromDateForMonth(const QDate& date, static CoreDbUrl fromDateForMonth(const QDate& date,
const DbEngineParameters& parameters = C oreDbAccess::parameters()); const DbEngineParameters& parameters = Cor eDbAccess::parameters());
/** /**
* Create a digikamdates:/ url for the year of the given date. * Create a digikamdates:/ url for the year of the given date.
* (The whole year of the given date will included in the referenced time sp an) * (The whole year of the given date will included in the referenced time sp an)
*/ */
static CoreDbUrl fromDateForYear(const QDate& date, static CoreDbUrl fromDateForYear(const QDate& date,
const DbEngineParameters& parameters = Co reDbAccess::parameters()); const DbEngineParameters& parameters = Core DbAccess::parameters());
/** /**
* Create a digikamdates:/ url for a specified time span which begin with th e * Create a digikamdates:/ url for a specified time span which begin with th e
* start date (inclusive) and ends before the end date (exclusive). * start date (inclusive) and ends before the end date (exclusive).
* To cover the whole year of 1984, you would pass 1/1/1984 and 1/1/1985. * To cover the whole year of 1984, you would pass 1/1/1984 and 1/1/1985.
*/ */
static CoreDbUrl fromDateRange(const QDate& startDate, const QDate& endDate, static CoreDbUrl fromDateRange(const QDate& startDate, const QDate& endDate,
const DbEngineParameters& parameters = Core DbAccess::parameters()); const DbEngineParameters& parameters = CoreDb Access::parameters());
/** /**
* Create an empty digikammapimages:/ url * Create an empty digikammapimages:/ url
*/ */
static CoreDbUrl mapImagesUrl(const DbEngineParameters& parameters = CoreDbA ccess::parameters()); static CoreDbUrl mapImagesUrl(const DbEngineParameters& parameters = CoreDbA ccess::parameters());
static CoreDbUrl fromAreaRange(const qreal lat1, const qreal lng1, const qre al lat2, const qreal lng2, const DbEngineParameters& parameters = CoreDbAccess:: parameters()); static CoreDbUrl fromAreaRange(const qreal lat1, const qreal lng1, const qre al lat2, const qreal lng2, const DbEngineParameters& parameters = CoreDbAccess:: parameters());
/** /**
* Create a digikamsearch: URL for the search with the given id. * Create a digikamsearch: URL for the search with the given id.
 End of changes. 8 change blocks. 
20 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)