changed: made static const data symbols really static const

svn path=/trunk/KDE/kdebase/apps/; revision=1080302
This commit is contained in:
Friedrich W. H. Kossebau 2010-01-26 02:57:09 +00:00
parent 3b4b98ed57
commit 5accf42fc8
4 changed files with 4 additions and 4 deletions

View file

@ -41,7 +41,7 @@
#include <QDir> #include <QDir>
#include <QFileInfo> #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) : DolphinModel::DolphinModel(QObject* parent) :
KDirModel(parent), KDirModel(parent),

View file

@ -60,7 +60,7 @@ private:
bool m_hasVersionData; bool m_hasVersionData;
QHash<QPersistentModelIndex, KVersionControlPlugin::VersionState> m_revisionHash; QHash<QPersistentModelIndex, KVersionControlPlugin::VersionState> m_revisionHash;
static const char* m_others; static const char* const m_others;
}; };
#endif // DOLPHINMODEL_H #endif // DOLPHINMODEL_H

View file

@ -179,7 +179,7 @@ void KMetaDataConfigurationDialog::Private::loadMetaData()
// Meta information provided by Nepomuk that is already // Meta information provided by Nepomuk that is already
// available from KFileItem as "fixed item" (see above) // available from KFileItem as "fixed item" (see above)
// should not be shown as second entry. // should not be shown as second entry.
static const char* hiddenProperties[] = { static const char* const hiddenProperties[] = {
"contentSize", // = fixed item "size" "contentSize", // = fixed item "size"
"description", // = fixed item "comment" "description", // = fixed item "comment"
"fileExtension", // ~ fixed item "type" "fileExtension", // ~ fixed item "type"

View file

@ -281,7 +281,7 @@ void KMetaDataWidget::Private::initMetaInfoSettings()
// trueg: KDE 4.5: use a blacklist of actual rdf properties // 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", "asText", "contentSize", "created", "depth", "description", "fileExtension",
"fileName", "fileSize", "hasTag", "isPartOf", "lastModified", "mimeType", "name", "fileName", "fileSize", "hasTag", "isPartOf", "lastModified", "mimeType", "name",
"numericRating", "parentUrl", "permissions", "plainTextContent", "owner", "numericRating", "parentUrl", "permissions", "plainTextContent", "owner",