From d0be1721b4656109c9e21cc0ecb6f23b343b7c26 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lanbrowsing/lisa/client.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lanbrowsing/lisa/client.cpp') diff --git a/lanbrowsing/lisa/client.cpp b/lanbrowsing/lisa/client.cpp index e26b2674..92b62dc5 100644 --- a/lanbrowsing/lisa/client.cpp +++ b/lanbrowsing/lisa/client.cpp @@ -35,7 +35,7 @@ Client::Client(NetManager* tqparent, int socketFD, int closeOnDelete) -:tqparentServer(tqparent) +:parentServer(tqparent) ,m_fd(socketFD) ,m_done(0) ,m_closeOnDelete(closeOnDelete) @@ -46,7 +46,7 @@ Client::Client(NetManager* tqparent, int socketFD, int closeOnDelete) } Client::Client() -:tqparentServer(0) +:parentServer(0) ,m_fd(-1) ,m_done(1) ,m_closeOnDelete(1) @@ -55,7 +55,7 @@ Client::Client() } Client::Client(const Client& c) -:tqparentServer(c.tqparentServer) +:parentServer(c.parentServer) ,m_fd(c.m_fd) ,m_creationTime(c.m_creationTime) ,m_done(c.m_done) @@ -74,7 +74,7 @@ int Client::tryToGetInfo() return 1; } dcerr<<"tryToGetInfo: calling data.getFile()"<isInformed()) return 0; + if (!parentServer->isInformed()) return 0; //we fork now, so that writing to the client can't block the server process /* int pid=fork(); if (pid==-1) @@ -91,7 +91,7 @@ int Client::tryToGetInfo() //child //this one does it all :-) dcerr<<"tryToGetInfo: sending data to client"<writeDataToFD(fd(),0); + parentServer->writeDataToFD(fd(),0); close(); //exit(0); return 1; -- cgit v1.2.1