-namespace {
-#ifdef HAVE_BALOO
- /** Checks if a given term in the Baloo::Query::searchString() is a special search term
- * @return: the specific search token of the term, or an empty QString() if none is found
- */
- QString searchTermToken(const QString& term)
- {
- static const QLatin1String searchTokens[] {
- QLatin1String("filename:"),
- QLatin1String("modified>="),
- QLatin1String("rating>="),
- QLatin1String("tag:"), QLatin1String("tag=")
- };
-
- for (const auto &searchToken : searchTokens) {
- if (term.startsWith(searchToken)) {
- return searchToken;
- }
+namespace
+{
+#if HAVE_BALOO
+/** Checks if a given term in the Baloo::Query::searchString() is a special search term
+ * @return: the specific search token of the term, or an empty QString() if none is found
+ */
+QString searchTermToken(const QString &term)
+{
+ static const QLatin1String searchTokens[]{QLatin1String("filename:"),
+ QLatin1String("modified>="),
+ QLatin1String("rating>="),
+ QLatin1String("tag:"),
+ QLatin1String("tag=")};
+
+ for (const auto &searchToken : searchTokens) {
+ if (term.startsWith(searchToken)) {
+ return searchToken;