25 #ifndef DIGIKAM_DMETADATA_SETTINGS_CONTAINER_H
26 #define DIGIKAM_DMETADATA_SETTINGS_CONTAINER_H
72 COMMENT_ATLLANGLIST = 2,
99 specialOpts (NO_OPTS),
100 secondNameOpts (NO_OPTS)
105 : nsType (other.nsType),
106 subspace (other.subspace),
107 isDefault (other.isDefault),
108 isDisabled (other.isDisabled),
110 namespaceName (other.namespaceName),
111 alternativeName (other.alternativeName),
112 tagPaths (other.tagPaths),
113 separator (other.separator),
114 convertRatio (
QList<int>(other.convertRatio)),
115 specialOpts (other.specialOpts),
116 secondNameOpts (other.secondNameOpts)
126 static QString DM_TAG_CONTAINER();
127 static QString DM_TITLE_CONTAINER();
128 static QString DM_RATING_CONTAINER();
129 static QString DM_COMMENT_CONTAINER();
130 static QString DM_COLORLABEL_CONTAINER();
175 void readFromConfig(KConfigGroup& group);
176 void writeToConfig(KConfigGroup& group)
const;
181 void defaultValues();
183 bool unifyReadWrite()
const;
184 void setUnifyReadWrite(
bool b);
186 bool readingAllTags()
const;
187 void setReadingAllTags(
bool b);
189 void addMapping(
const QString& key);
199 void defaultTagValues();
200 void defaultTitleValues();
201 void defaultRatingValues();
202 void defaultCommentValues();
203 void defaultColorLabelValues();
205 void writeOneGroup(KConfigGroup& group,
const QString& name,
QList<NamespaceEntry>& container)
const;
The NamespaceEntry class provide a simple container for dmetadata namespaces variables,...
Definition: dmetadatasettingscontainer.h:51
QList< int > convertRatio
Definition: dmetadatasettingscontainer.h:151
QString alternativeName
Definition: dmetadatasettingscontainer.h:144
SpecialOptions
Definition: dmetadatasettingscontainer.h:69
NsSubspace subspace
Definition: dmetadatasettingscontainer.h:135
NamespaceType nsType
Definition: dmetadatasettingscontainer.h:134
NamespaceEntry()
Definition: dmetadatasettingscontainer.h:92
NamespaceEntry(const NamespaceEntry &other)
Definition: dmetadatasettingscontainer.h:104
bool isDisabled
Definition: dmetadatasettingscontainer.h:137
TagType tagPaths
Definition: dmetadatasettingscontainer.h:145
int index
Definition: dmetadatasettingscontainer.h:138
TagType
Definition: dmetadatasettingscontainer.h:63
SpecialOptions specialOpts
Definition: dmetadatasettingscontainer.h:153
SpecialOptions secondNameOpts
Definition: dmetadatasettingscontainer.h:154
~NamespaceEntry()
Definition: dmetadatasettingscontainer.h:120
QString namespaceName
Definition: dmetadatasettingscontainer.h:143
NamespaceType
Definition: dmetadatasettingscontainer.h:81
QString separator
Definition: dmetadatasettingscontainer.h:146
NsSubspace
Definition: dmetadatasettingscontainer.h:56
bool isDefault
Definition: dmetadatasettingscontainer.h:136
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43
QDebug operator<<(QDebug dbg, const DbEngineParameters &p)
Definition: dbengineparameters.cpp:863
@ TAGS
Definition: filtersidebarwidget.h:50
@ RATING
Definition: itemquerybuilder_p.h:83
@ TAG
Definition: itemquerybuilder_p.h:77