26 #ifndef DIGIKAM_META_ENGINE_MERGE_HELPER_H
27 #define DIGIKAM_META_ENGINE_MERGE_HELPER_H
34 template <
class Data,
class Key,
class KeyString,
class KeyStringList = QList<KeyString> >
57 for (
typename Data::const_iterator it = src.begin() ; it != src.end() ; ++it)
59 typename Data::iterator destIt = dest.findKey(Key(it->key()));
61 if (destIt == dest.end())
79 foreach (
const KeyString& keyString, keys)
81 Key key(keyString.latin1());
82 typename Data::const_iterator it = src.findKey(key);
89 typename Data::iterator destIt = dest.findKey(key);
91 if (destIt == dest.end())
111 foreach (
const KeyString& keyString, keys)
113 Key key(keyString.latin1());
114 typename Data::const_iterator it = src.findKey(key);
115 typename Data::iterator destIt = dest.findKey(key);
117 if (destIt == dest.end())
151 class Q_DECL_HIDDEN XmpMetaEngineMergeHelper
Definition: datefolderview.cpp:43