From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kreadconfig/kwriteconfig.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kreadconfig/kwriteconfig.cpp') diff --git a/kreadconfig/kwriteconfig.cpp b/kreadconfig/kwriteconfig.cpp index 0246ec709..83d1afe23 100644 --- a/kreadconfig/kwriteconfig.cpp +++ b/kreadconfig/kwriteconfig.cpp @@ -36,23 +36,23 @@ int main(int argc, char **argv) KCmdLineArgs::addCmdLineOptions(options); KCmdLineArgs *args=KCmdLineArgs::parsedArgs(); - QString group=QString::fromLocal8Bit(args->getOption("group")); - QString key=QString::fromLocal8Bit(args->getOption("key")); - QString file=QString::fromLocal8Bit(args->getOption("file")); - QCString type=args->getOption("type").lower(); + TQString group=TQString::fromLocal8Bit(args->getOption("group")); + TQString key=TQString::fromLocal8Bit(args->getOption("key")); + TQString file=TQString::fromLocal8Bit(args->getOption("file")); + TQCString type=args->getOption("type").lower(); if (key.isNull() || !args->count()) { KCmdLineArgs::usage(); return 1; } - QCString value = args->arg( 0 ); + TQCString value = args->arg( 0 ); KInstance inst(&aboutData); KConfig *konfig; if (file.isEmpty()) - konfig = new KConfig(QString::fromLatin1("kdeglobals"), false, false); + konfig = new KConfig(TQString::fromLatin1("kdeglobals"), false, false); else konfig = new KConfig(file, false, false); @@ -64,9 +64,9 @@ int main(int argc, char **argv) bool boolvalue=(value=="true" || value=="on" || value=="yes" || value=="1"); konfig->writeEntry( key, boolvalue ); } else if (type=="path") { - konfig->writePathEntry( key, QString::fromLocal8Bit( value ) ); + konfig->writePathEntry( key, TQString::fromLocal8Bit( value ) ); } else { - konfig->writeEntry( key, QString::fromLocal8Bit( value ) ); + konfig->writeEntry( key, TQString::fromLocal8Bit( value ) ); } konfig->sync(); delete konfig; -- cgit v1.2.1