◆ CommonKeys()
Digikam::CommonKeys::CommonKeys |
( |
| ) |
|
|
explicit |
◆ ~CommonKeys()
Digikam::CommonKeys::~CommonKeys |
( |
| ) |
|
|
inlineoverride |
◆ addId()
void Digikam::DbKeysCollection::addId |
( |
const QString & |
id, |
|
|
const QString & |
description |
|
) |
| |
|
protectedinherited |
◆ collectionName()
QString Digikam::DbKeysCollection::collectionName |
( |
| ) |
const |
|
inherited |
Get the name of the DbKeysCollection
- Returns
- the name of the collection
◆ getDbValue()
QString Digikam::CommonKeys::getDbValue |
( |
const QString & |
key, |
|
|
ParseSettings & |
settings |
|
) |
| |
|
overrideprotectedvirtual |
Abstract method for retrieving the value from the database for the given key.
This method has to be implemented by all child classes. It is called by the getValue() method.
- Parameters
-
key | the key representing the value in the database |
settings | the ParseSettings object holding all relevant information about the image. |
- Returns
- the value of the given database key
- See also
- DbKeysCollection::getValue()
Implements Digikam::DbKeysCollection.
References Digikam::DatabaseItem::Audio, Digikam::ItemCopyright::author(), Digikam::ItemInfo::category(), Digikam::ImageCommonContainer::colorDepth, Digikam::ImageCommonContainer::colorModel, Digikam::ItemInfo::comment(), Digikam::ItemInfo::dimensions(), Digikam::ItemInfo::fileSize(), Digikam::ParseSettings::fileUrl, Digikam::ItemInfo::format(), Digikam::ItemInfo::fromUrl(), Digikam::ImageCommonContainer::height, Digikam::DatabaseItem::Image, Digikam::ItemInfo::imageCommonContainer(), Digikam::ItemInfo::imageCopyright(), Digikam::AlbumManager::instance(), Digikam::ImageCommonContainer::orientation, Digikam::DatabaseItem::Other, Digikam::ItemInfo::rating(), Digikam::ItemInfo::tagIds(), Digikam::AlbumManager::tagNames(), Digikam::AlbumManager::tagPaths(), Digikam::ItemInfo::title(), Digikam::DatabaseItem::UndefinedCategory, Digikam::DatabaseItem::Video, and Digikam::ImageCommonContainer::width.
◆ getValue()
QString Digikam::DbKeysCollection::getValue |
( |
const QString & |
key, |
|
|
ParseSettings & |
settings |
|
) |
| |
|
inherited |
Get a value from the database.
- Parameters
-
key | the key representing the value in the database |
settings | the ParseSettings object holding all relevant information about the image. |
- Returns
- the value of the given database key
References Digikam::DbKeysCollection::getDbValue().
◆ ids()
Get all IDs associated with this key collection.
- Returns
- a map of all associated ids and their description
The documentation for this class was generated from the following files:
- core/utilities/advancedrename/parser/options/database/keys/commonkeys.h
- core/utilities/advancedrename/parser/options/database/keys/commonkeys.cpp