diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:27 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 03:15:14 +0200 |
commit | 7ee38ebc22d177c8f0f4805d0e8479736ec94f79 (patch) | |
tree | 8923548e283ead89f5d6d5508ca68e294bfe1a1e /kdf/disks.cpp | |
parent | 82588f54335b5e52502303e89e2035066a6cc808 (diff) | |
download | tdeutils-7ee38ebc22d177c8f0f4805d0e8479736ec94f79.tar.gz tdeutils-7ee38ebc22d177c8f0f4805d0e8479736ec94f79.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit bcc684e28ad6f9ebeeae5d334a4dc297cef3e816)
Diffstat (limited to 'kdf/disks.cpp')
-rw-r--r-- | kdf/disks.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kdf/disks.cpp b/kdf/disks.cpp index 155e6e2..1520b18 100644 --- a/kdf/disks.cpp +++ b/kdf/disks.cpp @@ -104,13 +104,13 @@ int DiskEntry::mount() { // FreeBSD's mount(8) is picky: -o _must_ go before // the device and mountpoint. - cmdS=TQString::tqfromLatin1("mount -t%t -o%o %d %m"); + cmdS=TQString::fromLatin1("mount -t%t -o%o %d %m"); } - cmdS.replace(TQString::tqfromLatin1("%d"),deviceName()); - cmdS.replace(TQString::tqfromLatin1("%m"),mountPoint()); - cmdS.replace(TQString::tqfromLatin1("%t"),fsType()); - cmdS.replace(TQString::tqfromLatin1("%o"),mountOptions()); + cmdS.replace(TQString::fromLatin1("%d"),deviceName()); + cmdS.replace(TQString::fromLatin1("%m"),mountPoint()); + cmdS.replace(TQString::fromLatin1("%t"),fsType()); + cmdS.replace(TQString::fromLatin1("%o"),mountOptions()); kdDebug() << "mount-cmd: [" << cmdS << "]" << endl; int e=sysCall(cmdS); @@ -126,8 +126,8 @@ int DiskEntry::umount() if (cmdS.isEmpty()) // generate default umount cmd cmdS="umount %d"; - cmdS.replace(TQString::tqfromLatin1("%d"),deviceName()); - cmdS.replace(TQString::tqfromLatin1("%m"),mountPoint()); + cmdS.replace(TQString::fromLatin1("%d"),deviceName()); + cmdS.replace(TQString::fromLatin1("%m"),mountPoint()); kdDebug() << "umount-cmd: [" << cmdS << "]" << endl; int e=sysCall(cmdS); |