diff options
Diffstat (limited to 'ksysv/IOCore.cpp')
-rw-r--r-- | ksysv/IOCore.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksysv/IOCore.cpp b/ksysv/IOCore.cpp index 8c7dc90..001227d 100644 --- a/ksysv/IOCore.cpp +++ b/ksysv/IOCore.cpp @@ -201,7 +201,7 @@ bool ksv::IO::loadSavedConfiguration (TQDataStream& s, s >> rlMagic; s >> section; - if (rlMagic != TQString::tqfromLatin1("RUNLEVEL %1").tqarg(i)) + if (rlMagic != TQString::fromLatin1("RUNLEVEL %1").tqarg(i)) return false; if (section != "START") @@ -240,14 +240,14 @@ bool ksv::IO::saveConfiguration (TQDataStream& s, s << TQCString("KSysV") << version - << TQDateTime::tqcurrentDateTime(); // save date + << TQDateTime::currentDateTime(); // save date for (int i = 0; i < ksv::runlevelNumber; ++i) { TQ_INT32 numberOfItems = start[i]->childCount(); - s << TQString::tqfromLatin1 ("RUNLEVEL %1").arg (i) - << TQString::tqfromLatin1 ("START") + s << TQString::fromLatin1 ("RUNLEVEL %1").arg (i) + << TQString::fromLatin1 ("START") << numberOfItems; for (TQListViewItemIterator it (start[i]); @@ -259,7 +259,7 @@ bool ksv::IO::saveConfiguration (TQDataStream& s, numberOfItems = stop[i]->childCount(); - s << TQString::tqfromLatin1 ("STOP") + s << TQString::fromLatin1 ("STOP") << numberOfItems; for (TQListViewItemIterator it (stop[i]); |