Convert TypeTable::loadFromFile() to modern types.
commit15b256cbe944b439a34449f0175bae899c0827e6
authorJohannes Sixt <j6t@kdbg.org>
Tue, 18 Nov 2008 20:54:21 +0000 (18 21:54 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Tue, 18 Nov 2008 20:54:21 +0000 (18 21:54 +0100)
tree3b83372862052adfb030627411dfcd004f57e7d5
parentbfe843d191a290c1a66bd49094185949be29c8f8
Convert TypeTable::loadFromFile() to modern types.

The KConfig::read*Entry() functions return QStringList and QString, and
we do no longer work with char*.

A marginal change is a fix to the value of m_displayName if no
DisplayName property was set in the type table file: We use QFileInfo to
find the file name instead of doing it manually and in the wrong way by
scanning for a backslash instead of a slash.
kdbg/typetable.cpp
kdbg/typetable.h