diff options
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
| -rw-r--r-- | src/kitemviews/kfileitemmodel.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemmodel.h b/src/kitemviews/kfileitemmodel.h index 0b1885a8c..4824dec3d 100644 --- a/src/kitemviews/kfileitemmodel.h +++ b/src/kitemviews/kfileitemmodel.h @@ -162,8 +162,16 @@ public: { QByteArray role; QString translation; QString group; + bool requiresNepomuk; + bool requiresIndexer; }; + /** + * @return Provides static information for all available roles that + * are supported by KFileItemModel. Some roles can only be + * determined if Nepomuk is enabled and/or the Nepomuk + * indexing is enabled. + */ static QList<RoleInfo> rolesInformation(); signals: @@ -344,6 +352,8 @@ private: const char* const roleTranslation; const char* const groupTranslationContext; const char* const groupTranslation; + const bool requiresNepomuk; + const bool requiresIndexer; }; /** |
