┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemmodel.h
diff options
context:
space:
mode:
authorAlexander Lohnau <[email protected]>2021-12-19 15:55:33 +0100
committerAlexander Lohnau <[email protected]>2022-01-13 21:41:19 +0100
commit63124f569ca8f6dec6431c667f02d2f985db2979 (patch)
treea281cc135daf466eab5fe2880ecc1c1be2554e23 /src/kitemviews/kfileitemmodel.h
parentaf2baf8047c0f4ca248b22f2c36074ad86a2020e (diff)
Port away from deprecated I18N*_NOOP macros
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
-rw-r--r--src/kitemviews/kfileitemmodel.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/kitemviews/kfileitemmodel.h b/src/kitemviews/kfileitemmodel.h
index 471cfc2d2..f88a8830a 100644
--- a/src/kitemviews/kfileitemmodel.h
+++ b/src/kitemviews/kfileitemmodel.h
@@ -12,6 +12,7 @@
#include "kitemviews/private/kfileitemmodelfilter.h"
#include <KFileItem>
+#include <KLazyLocalizedString>
#include <QCollator>
#include <QHash>
@@ -440,10 +441,8 @@ private:
{
const char* const role;
const RoleType roleType;
- const char* const roleTranslationContext;
- const char* const roleTranslation;
- const char* const groupTranslationContext;
- const char* const groupTranslation;
+ const KLazyLocalizedString roleTranslation;
+ const KLazyLocalizedString groupTranslation;
const bool requiresBaloo;
const bool requiresIndexer;
};