|
| CoreDbUrl ()=default |
| Create an invalid database URL.
|
|
| CoreDbUrl (const CoreDbUrl &url) |
|
| CoreDbUrl (const QUrl &digikamUrl) |
| Create a CoreDbUrl object from a QUrl, to retrieve the information stored.
|
|
QString | album () const |
| Returns the album: This is the directory hierarchy below the album root.
|
|
QUrl | albumRoot () const |
| The following methods are only applicable for a certain protocol each.
|
|
int | albumRootId () const |
| Returns the album root id.
|
|
QString | albumRootPath () const |
| Returns the album root path of the file or album referenced by this URL In the example above, this is "/media/fotos".
|
|
bool | areaCoordinates (double *lat1, double *lat2, double *lon1, double *lon2) const |
| MapImages URL.
|
|
QDate | endDate () const |
| Return the referenced end date (excluded from the referenced span)
|
|
QUrl | fileUrl () const |
| Converts this digikamalbums:// URL to a file:// URL.
|
|
bool | isAlbumUrl () const |
| These test for the protocol of this URL.
|
|
bool | isDateUrl () const |
|
bool | isMapImagesUrl () const |
|
bool | isSearchUrl () const |
|
bool | isTagUrl () const |
|
QString | name () const |
| Returns the file name.
|
|
CoreDbUrl & | operator= (const CoreDbUrl &url) |
|
CoreDbUrl & | operator= (const QUrl &digikamalbumsUrl) |
|
bool | operator== (const QUrl &digikamalbumsUrl) const |
|
DbEngineParameters | parameters () const |
| Returns the DbEngineParameters stored in this URL.
|
|
int | searchId () const |
| Search URL.
|
|
void | setParameters (const DbEngineParameters ¶meters) |
| Change the database parameters stored in this URL Applicable to all protocols.
|
|
QDate | startDate () const |
| Date URL.
|
|
int | tagId () const |
| Tag URL.
|
|
QList< int > | tagIds () const |
| Returns the tag ids of all tags in the tag path of this tag, the topmost tag in the hierarchy first.
|
|
|
static CoreDbUrl | albumUrl (const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
| Create an empty digikamalbums:/ url.
|
|
static CoreDbUrl | dateUrl (const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
| Create an empty digikamdates:/ url.
|
|
static CoreDbUrl | fromAlbumAndName (const QString &name, const QString &album, const QUrl &albumRoot, const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
|
static CoreDbUrl | fromAlbumAndName (const QString &name, const QString &album, const QUrl &albumRoot, int albumRootId, const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
| Create a digikamalbums:/ url from an album name and an image in this album.
|
|
static CoreDbUrl | fromAreaRange (const qreal lat1, const qreal lng1, const qreal lat2, const qreal lng2, const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
|
static CoreDbUrl | fromDateForMonth (const QDate &date, const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
| Create a digikamdates:/ url for the month of the given date.
|
|
static CoreDbUrl | fromDateForYear (const QDate &date, const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
| Create a digikamdates:/ url for the year of the given date.
|
|
static CoreDbUrl | fromDateRange (const QDate &startDate, const QDate &endDate, const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
| Create a digikamdates:/ url for a specified time span which begin with the start date (inclusive) and ends before the end date (exclusive).
|
|
static CoreDbUrl | fromFileUrl (const QUrl &fileUrl, const QUrl &albumRoot, const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
|
static CoreDbUrl | fromFileUrl (const QUrl &fileUrl, const QUrl &albumRoot, int albumRootId, const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
| This class shall facilitate the usage of digikamalbums:/, digikamtags:/, digikamdates:/ and digikamsearch: URLs.
|
|
static CoreDbUrl | fromTagIds (const QList< int > &tagIds, const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
| 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.
|
|
static CoreDbUrl | mapImagesUrl (const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
| Create an empty digikammapimages:/ url.
|
|
static CoreDbUrl | searchUrl (int searchId, const DbEngineParameters ¶meters=CoreDbAccess::parameters()) |
| Create a digikamsearch: URL for the search with the given id.
|
|