diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:13 -0600 |
commit | 56160bf4dfe503631ef6373367b281f081bab2b4 (patch) | |
tree | 7fcea2ffd9c3420af999c3dcad0ed032eef93956 /dcop/dcopserver.cpp | |
parent | 13281e2856a2ef43bbab78c5528470309c23aa77 (diff) | |
download | tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.tar.gz tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
Diffstat (limited to 'dcop/dcopserver.cpp')
-rw-r--r-- | dcop/dcopserver.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dcop/dcopserver.cpp b/dcop/dcopserver.cpp index fe08871bf..8da59df04 100644 --- a/dcop/dcopserver.cpp +++ b/dcop/dcopserver.cpp @@ -49,7 +49,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define QT_CLEAN_NAMESPACE 1 #include <tqfile.h> -#include <textstream.h> +#include <tqtextstream.h> #include <tqdatastream.h> #include <tqptrstack.h> #include <tqtimer.h> @@ -126,8 +126,8 @@ static TQCString readQCString(TQDataStream &ds) TQCString result; TQ_UINT32 len; ds >> len; - TQIODevice *device = ds.device(); - int bytesLeft = device->size()-device->at(); + TQIODevice *device = ds.tqdevice(); + int bytesLeft = device->size()-device->tqat(); if ((bytesLeft < 0 ) || (len > (uint) bytesLeft)) { qWarning("Corrupt data!\n"); @@ -145,8 +145,8 @@ static TQByteArray readQByteArray(TQDataStream &ds) TQByteArray result; TQ_UINT32 len; ds >> len; - TQIODevice *device = ds.device(); - int bytesLeft = device->size()-device->at(); + TQIODevice *device = ds.tqdevice(); + int bytesLeft = device->size()-device->tqat(); if ((bytesLeft < 0 ) || (len > (uint) bytesLeft)) { qWarning("Corrupt data!\n"); |