diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
commit | bab40890696ec68c337dc290880423a0602b83c7 (patch) | |
tree | 6ba03f720b1fa88235ba339e7aedb4455430357e /kinit/kdostartupconfig.cpp | |
parent | f7e71d47719ab6094cf4a9fafffa5ea351973522 (diff) | |
download | tdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip |
Finished remaining porting to new TQt API
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kinit/kdostartupconfig.cpp')
-rw-r--r-- | kinit/kdostartupconfig.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kinit/kdostartupconfig.cpp b/kinit/kdostartupconfig.cpp index b9885453b..1479cbd7d 100644 --- a/kinit/kdostartupconfig.cpp +++ b/kinit/kdostartupconfig.cpp @@ -105,9 +105,9 @@ int main() { TQString key = it.key(); TQString value = *it; - startupconfig << file.replace( ' ', '_' ).lower() - << "_" << group.replace( ' ', '_' ).lower() - << "_" << key.replace( ' ', '_' ).lower() + startupconfig << TQString(file.replace( ' ', '_' )).lower() + << "_" << TQString(group.replace( ' ', '_' )).lower() + << "_" << TQString(key.replace( ' ', '_' )).lower() << "=\"" << value.replace( "\"", "\\\"" ) << "\"\n"; } } @@ -119,9 +119,9 @@ int main() cfg.setGroup( group ); TQString value = cfg.readEntry( key, def ); startupconfig << "# " << line << "\n"; - startupconfig << file.replace( ' ', '_' ).lower() - << "_" << group.replace( ' ', '_' ).lower() - << "_" << key.replace( ' ', '_' ).lower() + startupconfig << TQString(file.replace( ' ', '_' )).lower() + << "_" << TQString(group.replace( ' ', '_' )).lower() + << "_" <<TQString( key.replace( ' ', '_' )).lower() << "=\"" << value.replace( "\"", "\\\"" ) << "\"\n"; } startupconfigfiles << line << endl; |