diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:59:52 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:59:52 -0600 |
commit | 7ea89afa119615e547323a7a482ea7fef8e67029 (patch) | |
tree | 7b28540e70b4be9a779347f70486d4937258a875 /klaptopdaemon/kpcmcia.cpp | |
parent | bcc684e28ad6f9ebeeae5d334a4dc297cef3e816 (diff) | |
download | tdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.tar.gz tdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'klaptopdaemon/kpcmcia.cpp')
-rw-r--r-- | klaptopdaemon/kpcmcia.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/klaptopdaemon/kpcmcia.cpp b/klaptopdaemon/kpcmcia.cpp index 83e4971..50d7b4c 100644 --- a/klaptopdaemon/kpcmcia.cpp +++ b/klaptopdaemon/kpcmcia.cpp @@ -175,7 +175,7 @@ tv.tv_sec = 0; tv.tv_usec = 0; TQTextStream ts(&f); bool foundit = false; TQString _thisreg = "^Socket %1: "; - TQRegExp thisreg ( _thisreg.tqarg(_num) ); + TQRegExp thisreg ( _thisreg.arg(_num) ); if (flock(f.handle(), LOCK_SH)) return updated; @@ -500,7 +500,7 @@ TQFile df("/proc/devices"); TQString thisreg; thisreg = "^[0-9]+ %1$"; - thisreg = thisreg.tqarg(x); + thisreg = thisreg.arg(x); if (df.open(IO_ReadOnly)) { TQTextStream t(&df); @@ -523,7 +523,7 @@ static int openDevice(dev_t dev) { TQString tmp_path = locateLocal("tmp", KGlobal::instance()->instanceName()); TQString ext = "_socket%1"; - tmp_path += ext.tqarg((int)dev); + tmp_path += ext.arg((int)dev); int rc = mknod(tmp_path.latin1(), (S_IFCHR | S_IREAD), dev); if (rc < 0) return -1; |