diff options
Diffstat (limited to 'kreadconfig/kwriteconfig.cpp')
-rw-r--r-- | kreadconfig/kwriteconfig.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kreadconfig/kwriteconfig.cpp b/kreadconfig/kwriteconfig.cpp index 83d1afe23..5462eae5a 100644 --- a/kreadconfig/kwriteconfig.cpp +++ b/kreadconfig/kwriteconfig.cpp @@ -1,6 +1,6 @@ /* Write KConfig() entries - for use in shell scripts. - * (c) 2001 Red Hat, Inc. & Lu�s Pedro Coelho - * Programmed by Lu�s Pedro Coelho <[email protected]> + * (c) 2001 Red Hat, Inc. & Lu�s Pedro Coelho + * Programmed by Lu�s Pedro Coelho <[email protected]> * based on kreadconfig by Bernhard Rosenkraenzer <[email protected]> * * License: GPL @@ -29,8 +29,8 @@ int main(int argc, char **argv) "1.0.0", I18N_NOOP("Write KConfig entries - for use in shell scripts"), KAboutData::License_GPL, - "(c) 2001 Red Hat, Inc. & Lu�s Pedro Coelho"); - aboutData.addAuthor("Lu�s Pedro Coelho", 0, "[email protected]"); + "(c) 2001 Red Hat, Inc. & Lu�s Pedro Coelho"); + aboutData.addAuthor("Lu�s Pedro Coelho", 0, "[email protected]"); aboutData.addAuthor("Bernhard Rosenkraenzer", "Wrote kreadconfig on which this is based", "[email protected]"); KCmdLineArgs::init(argc, argv, &aboutData); KCmdLineArgs::addCmdLineOptions(options); @@ -52,7 +52,7 @@ int main(int argc, char **argv) KConfig *konfig; if (file.isEmpty()) - konfig = new KConfig(TQString::fromLatin1("kdeglobals"), false, false); + konfig = new KConfig(TQString::tqfromLatin1("kdeglobals"), false, false); else konfig = new KConfig(file, false, false); @@ -66,7 +66,7 @@ int main(int argc, char **argv) } else if (type=="path") { konfig->writePathEntry( key, TQString::fromLocal8Bit( value ) ); } else { - konfig->writeEntry( key, TQString::fromLocal8Bit( value ) ); + konfig->writeEntry( key, TQString(TQString::fromLocal8Bit( value )) ); } konfig->sync(); delete konfig; |