Core/ProjectExplorer: Deprecate QDom in favour of QXmlStream-classes.

Rewrite PersistentSettingsReader/Write and CommandsFile to
use QXmlStreamReader/Writer.

Files will now be written out using native line endings and
contain proper XML version information.
Keyboard schemes will contain empty shortcut elements for empty
elements.

Rubber-stamped-by: con
This commit is contained in:
Friedemann Kleint
2011-03-31 16:03:30 +02:00
parent f6c2528122
commit 12fd1dbb70
7 changed files with 408 additions and 178 deletions

View File

@@ -63,7 +63,7 @@ int UniqueIDManager::uniqueIdentifier(const Id &id)
return uid;
}
QString UniqueIDManager::stringForUniqueIdentifier(int uid)
QString UniqueIDManager::stringForUniqueIdentifier(int uid) const
{
return m_uniqueIdentifiers.key(uid);
}