summaryrefslogtreecommitdiffstats
path: root/kdeprint/management
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 08:24:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 08:24:43 +0000
commit96a33d90689a46ea58f812d76fdd2eaf93edecfa (patch)
tree756ca55bffdffc115088699dd1b76c61eb6f64bf /kdeprint/management
parent5783baba4a547c443e4392f51c8023d38cb9fe6a (diff)
downloadtdelibs-96a33d90689a46ea58f812d76fdd2eaf93edecfa.tar.gz
tdelibs-96a33d90689a46ea58f812d76fdd2eaf93edecfa.zip
Additional TQt for Qt4 compilation fixes
This should not affect TQt for Qt3 per usual git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1215674 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management')
-rw-r--r--kdeprint/management/kmwlpd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/management/kmwlpd.cpp b/kdeprint/management/kmwlpd.cpp
index d1bb53cab..b83c9cb82 100644
--- a/kdeprint/management/kmwlpd.cpp
+++ b/kdeprint/management/kmwlpd.cpp
@@ -81,12 +81,12 @@ bool checkLpdQueue(const char *host, const char *queue)
char res[64] = {0};
snprintf(res,64,"%c%s\n",(char)4,queue);
- if (sock.writeBlock(res, strlen(res)) != (TQ_LONG)(strlen(res)))
+ if (sock.tqwriteBlock(res, strlen(res)) != (TQ_LONG)(strlen(res)))
return false;
char buf[1024] = {0};
int n, tot(1);
- while ((n = sock.readBlock(res, 63)) > 0)
+ while ((n = sock.tqreadBlock(res, 63)) > 0)
{
res[n] = 0;
tot += n;