summaryrefslogtreecommitdiffstats
path: root/ksysv/IOCore.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:28:18 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 20:26:21 +0200
commit1754e4db964431e721e805a923b689b6c92960e4 (patch)
treea3cc3a44576f709d992e90ac0a37e6aba2967b57 /ksysv/IOCore.cpp
parentce22df03899aad1d9eeabb3bba1048a9cb6c5708 (diff)
downloadtdeadmin-1754e4db964431e721e805a923b689b6c92960e4.tar.gz
tdeadmin-1754e4db964431e721e805a923b689b6c92960e4.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit b836ed566cdce05ae8408705487cd10a423f3a90)
Diffstat (limited to 'ksysv/IOCore.cpp')
-rw-r--r--ksysv/IOCore.cpp10
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]);