Use TDESimpleConfig

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/27/head
Michele Calgaro 2 months ago
parent df0f5caa3b
commit f12274ead7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -7,7 +7,7 @@
#include <tdeapplication.h> #include <tdeapplication.h>
#include <tdelocale.h> /* i18n */ #include <tdelocale.h> /* i18n */
#include <kiconloader.h> #include <kiconloader.h>
#include <ksimpleconfig.h> #include <tdesimpleconfig.h>
#include <tqdialog.h> #include <tqdialog.h>
#include <tqkeycode.h> #include <tqkeycode.h>
#include <tqpainter.h> #include <tqpainter.h>

@ -273,7 +273,7 @@ bool DebuggerMainWndBase::debugProgram(const TQString& executable,
TQString configName = m_debugger->getConfigForExe(executable); TQString configName = m_debugger->getConfigForExe(executable);
if (TQFile::exists(configName)) if (TQFile::exists(configName))
{ {
KSimpleConfig c(configName, true); // read-only TDESimpleConfig c(configName, true); // read-only
c.setGroup(GeneralGroup); c.setGroup(GeneralGroup);
// Using "GDB" as default here is for backwards compatibility: // Using "GDB" as default here is for backwards compatibility:

@ -8,7 +8,7 @@
#include <tqptrlist.h> #include <tqptrlist.h>
#include <tdeglobal.h> #include <tdeglobal.h>
#include <tdestandarddirs.h> #include <tdestandarddirs.h>
#include <ksimpleconfig.h> #include <tdesimpleconfig.h>
#include <list> #include <list>
#include <algorithm> #include <algorithm>
#include <functional> #include <functional>
@ -90,7 +90,7 @@ static const char FunctionGuardEntryFmt[] = "FunctionGuard%d";
void TypeTable::loadFromFile(const TQString& fileName) void TypeTable::loadFromFile(const TQString& fileName)
{ {
TRACE("reading file " + fileName); TRACE("reading file " + fileName);
KSimpleConfig cf(fileName, true); /* read-only */ TDESimpleConfig cf(fileName, true); /* read-only */
/* /*
* Read library name and properties. * Read library name and properties.

@ -1,7 +1,7 @@
[Type Table] [Type Table]
Types1=KSimpleConfig Types1=TDESimpleConfig
LibDisplayName=tdecore (KDE post-1.1) LibDisplayName=tdecore (KDE post-1.1)
ShlibRE=libtdecore\.so\.3$ ShlibRE=libtdecore\.so\.3$
[KSimpleConfig] [TDESimpleConfig]
Display={ global=% } Display={ global=% }
Expr1=(*(%s).pData->aGlobalAppFile.shd->data) Expr1=(*(%s).pData->aGlobalAppFile.shd->data)

Loading…
Cancel
Save