![]() |
digiKam
|
Functions | |
DIGIKAM_DATABASE_EXPORT QString | merge (const QString &previousContent, const QString &newEntry) |
DIGIKAM_DATABASE_EXPORT QString | merge (const QStringList &keywordList) |
DIGIKAM_DATABASE_EXPORT QStringList | split (const QString &string) |
|
protected |
Assuming previousContent is a string as accepted by split and returned by merge, adds newEntry as another (single) keyword to the string, returning the combined result.
|
protected |
Reverse of split(). From a list of keywords, gives a single string for a text entry field.
Referenced by Digikam::SearchFieldKeyword::read().
|
protected |
Splits a given string to a list of keywords. Splits at whitespace, but recognizes quotation marks to group words in a single keyword.
Referenced by Digikam::SearchFieldKeyword::write().