Changeset 3635
- Timestamp:
- 03/18/09 12:41:09 (12 months ago)
- Location:
- pcbsd/trunk
- Files:
-
- 8 modified
-
CrashHandler/crashhandler.cpp (modified) (2 diffs)
-
CrashHandler/details.cpp (modified) (1 diff)
-
ServiceManager/servicemanager.cpp (modified) (1 diff)
-
kcmPBSystem/cvsupprogress.cpp (modified) (6 diffs)
-
kcmPBSystem/fastestcvsup.cpp (modified) (1 diff)
-
kcmPBSystem/pbsystemtab.cpp (modified) (4 diffs)
-
kcmPBSystem/portsnapprogress.cpp (modified) (2 diffs)
-
pcbsdusermanager/usermanagerback.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pcbsd/trunk/CrashHandler/crashhandler.cpp
r2107 r3635 23 23 if ( file.open( IO_ReadOnly ) ) { 24 24 QTextStream stream( &file ); 25 stream.setCodec("UTF-8"); 25 26 QString line; 26 27 while ( !stream.atEnd() ) { … … 37 38 if ( file2.open( IO_ReadOnly ) ) { 38 39 QTextStream stream( &file2 ); 40 stream.setCodec("UTF-8"); 39 41 QString line; 40 42 while ( !stream.atEnd() ) { -
pcbsd/trunk/CrashHandler/details.cpp
r2107 r3635 41 41 if ( file.open( IO_WriteOnly ) ) { 42 42 QTextStream stream( &file ); 43 stream.setCodec("UTF-8"); 43 44 stream << "Output logged from stdout\n"; 44 45 stream << "=========================\n\n"; -
pcbsd/trunk/ServiceManager/servicemanager.cpp
r2229 r3635 290 290 291 291 QTextStream stream( &file ); 292 stream.setCodec("UTF-8"); 292 293 QString line; 293 294 while ( !stream.atEnd() ) { -
pcbsd/trunk/kcmPBSystem/cvsupprogress.cpp
r2489 r3635 35 35 { 36 36 QTextStream stream(&srcFile); 37 stream.setCodec("UTF-8"); 37 38 QString line; 38 39 while (!stream.atEnd()) … … 77 78 { 78 79 QTextStream stream(&supRead); 80 stream.setCodec("UTF-8"); 79 81 QString line; 80 82 while (! stream.atEnd()) … … 102 104 { 103 105 QTextStream stream(&supWrite); 106 stream.setCodec("UTF-8"); 107 104 108 for ( QStringList::Iterator it = lines.begin(); it != lines.end(); ++it ) { stream << *it << "\n"; } 105 109 supWrite.close(); … … 172 176 { 173 177 QTextStream stream(&supRead); 178 stream.setCodec("UTF-8"); 179 174 180 QString line; 175 181 while (! stream.atEnd()) … … 186 192 { 187 193 QTextStream stream(&supWrite); 194 stream.setCodec("UTF-8"); 195 188 196 for ( QStringList::Iterator it = lines.begin(); it != lines.end(); ++it ) { stream << *it << "\n"; } 189 197 supWrite.close(); … … 200 208 { 201 209 QTextStream stream(&supfile); 210 stream.setCodec("UTF-8"); 211 202 212 QString line; 203 213 while (! stream.atEnd()) -
pcbsd/trunk/kcmPBSystem/fastestcvsup.cpp
r2173 r3635 24 24 { 25 25 QTextStream stream(&file); 26 stream.setCodec("UTF-8"); 27 26 28 QString line; 27 29 bool scanning = false; -
pcbsd/trunk/kcmPBSystem/pbsystemtab.cpp
r2949 r3635 181 181 if ( file.open( IO_ReadOnly ) ) { 182 182 QTextStream stream( &file ); 183 stream.setCodec("UTF-8"); 183 184 QString line; 184 185 … … 339 340 if ( file.open( IO_ReadOnly ) ) { 340 341 QTextStream stream( &file ); 342 stream.setCodec("UTF-8"); 341 343 QString line; 342 344 while ( !stream.atEnd() ) { … … 369 371 if ( fileout.open( IO_WriteOnly ) ) { 370 372 QTextStream streamout( &fileout ); 373 streamout.setCodec("UTF-8"); 371 374 streamout << SavedFile; 372 375 fileout.close(); … … 400 403 if ( file.open( IO_ReadOnly ) ) { 401 404 QTextStream stream( &file ); 405 stream.setCodec("UTF-8"); 402 406 QString line; 403 407 while ( !stream.atEnd() ) { -
pcbsd/trunk/kcmPBSystem/portsnapprogress.cpp
r2949 r3635 22 22 newsnap.open(IO_WriteOnly); 23 23 QTextStream oldstream(&oldsnap); 24 oldstream.setCodec("UTF-8"); 24 25 QTextStream newstream(&newsnap); 26 newstream.setCodec("UTF-8"); 25 27 QString line; 26 28 int i = 0; … … 56 58 if (conf.open(IO_ReadOnly)) { 57 59 QTextStream stream(&conf); 60 stream.setCodec("UTF-8"); 61 58 62 QString line; 59 63 while (!stream.atEnd()) { -
pcbsd/trunk/pcbsdusermanager/usermanagerback.cpp
r2754 r3635 61 61 if ( userFile.open(IO_ReadOnly) ) { 62 62 QTextStream stream(&userFile); 63 stream.setCodec("UTF-8"); 63 64 QString line; 64 65 … … 93 94 if ( shellFile.open(IO_ReadOnly) ) { 94 95 QTextStream stream(&shellFile); 96 stream.setCodec("UTF-8"); 97 95 98 QString line; 96 99 … … 133 136 if ( groupFile.open(IO_ReadOnly) ) { 134 137 QTextStream stream(&groupFile); 138 stream.setCodec("UTF-8"); 139 135 140 QString line; 136 141
