#include <QDir>
#include <QFileInfo>
-const char* DolphinModel::m_others = I18N_NOOP2("@title:group Name", "Others");
+const char* const DolphinModel::m_others = I18N_NOOP2("@title:group Name", "Others");
DolphinModel::DolphinModel(QObject* parent) :
KDirModel(parent),
bool m_hasVersionData;
QHash<QPersistentModelIndex, KVersionControlPlugin::VersionState> m_revisionHash;
- static const char* m_others;
+ static const char* const m_others;
};
#endif // DOLPHINMODEL_H
// Meta information provided by Nepomuk that is already
// available from KFileItem as "fixed item" (see above)
// should not be shown as second entry.
- static const char* hiddenProperties[] = {
+ static const char* const hiddenProperties[] = {
"contentSize", // = fixed item "size"
"description", // = fixed item "comment"
"fileExtension", // ~ fixed item "type"
// trueg: KDE 4.5: use a blacklist of actual rdf properties
- static const char* disabledProperties[] = {
+ static const char* const disabledProperties[] = {
"asText", "contentSize", "created", "depth", "description", "fileExtension",
"fileName", "fileSize", "hasTag", "isPartOf", "lastModified", "mimeType", "name",
"numericRating", "parentUrl", "permissions", "plainTextContent", "owner",