digiKam
|
Public Member Functions | |
void | addMapping (const QString &key) |
void | defaultValues () |
defaultValues - default namespaces used by digiKam More... | |
DMetadataSettingsContainer () | |
DMetadataSettingsContainer (const DMetadataSettingsContainer &other) | |
QList< NamespaceEntry > & | getReadMapping (const QString &key) const |
QList< NamespaceEntry > & | getWriteMapping (const QString &key) const |
QList< QString > | mappingKeys () const |
DMetadataSettingsContainer & | operator= (const DMetadataSettingsContainer &other) |
void | readFromConfig (KConfigGroup &group) |
bool | readingAllTags () const |
void | setReadingAllTags (bool b) |
void | setUnifyReadWrite (bool b) |
bool | unifyReadWrite () const |
void | writeToConfig (KConfigGroup &group) const |
~DMetadataSettingsContainer () | |
The class DMetadataSettingsContainer is designed to dynamically add namespaces.
|
explicit |
Digikam::DMetadataSettingsContainer::DMetadataSettingsContainer | ( | const DMetadataSettingsContainer & | other | ) |
Digikam::DMetadataSettingsContainer::~DMetadataSettingsContainer | ( | ) |
void Digikam::DMetadataSettingsContainer::addMapping | ( | const QString & | key | ) |
Referenced by DMetadataSettingsContainer().
void Digikam::DMetadataSettingsContainer::defaultValues | ( | ) |
defaultValues - default namespaces used by digiKam
Referenced by readFromConfig().
QList< NamespaceEntry > & Digikam::DMetadataSettingsContainer::getReadMapping | ( | const QString & | key | ) | const |
Referenced by Digikam::DMetadata::getItemColorLabel(), Digikam::DMetadata::getItemComments(), Digikam::DMetadata::getItemRating(), Digikam::DMetadata::getItemTagsPath(), Digikam::DMetadata::getItemTitles(), Digikam::operator<<(), readFromConfig(), Digikam::DMetadata::setItemColorLabel(), Digikam::DMetadata::setItemComments(), Digikam::DMetadata::setItemRating(), Digikam::DMetadata::setItemTagsPath(), Digikam::DMetadata::setItemTitles(), and writeToConfig().
QList< NamespaceEntry > & Digikam::DMetadataSettingsContainer::getWriteMapping | ( | const QString & | key | ) | const |
QList< QString > Digikam::DMetadataSettingsContainer::mappingKeys | ( | ) | const |
Referenced by Digikam::operator<<(), readFromConfig(), and writeToConfig().
DMetadataSettingsContainer & Digikam::DMetadataSettingsContainer::operator= | ( | const DMetadataSettingsContainer & | other | ) |
void Digikam::DMetadataSettingsContainer::readFromConfig | ( | KConfigGroup & | group | ) |
References defaultValues(), getReadMapping(), getWriteMapping(), and mappingKeys().
bool Digikam::DMetadataSettingsContainer::readingAllTags | ( | ) | const |
Referenced by Digikam::DMetadata::getItemTagsPath().
void Digikam::DMetadataSettingsContainer::setReadingAllTags | ( | bool | b | ) |
void Digikam::DMetadataSettingsContainer::setUnifyReadWrite | ( | bool | b | ) |
bool Digikam::DMetadataSettingsContainer::unifyReadWrite | ( | ) | const |
void Digikam::DMetadataSettingsContainer::writeToConfig | ( | KConfigGroup & | group | ) | const |
References getReadMapping(), getWriteMapping(), and mappingKeys().