From a13e26c2f1eb3c5be81acf4f571dd4bafac10199 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkdegames/kgame/kmessageio.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'libkdegames/kgame/kmessageio.cpp') diff --git a/libkdegames/kgame/kmessageio.cpp b/libkdegames/kgame/kmessageio.cpp index ec33b159..b35382b0 100644 --- a/libkdegames/kgame/kmessageio.cpp +++ b/libkdegames/kgame/kmessageio.cpp @@ -29,8 +29,8 @@ // ----------------------- KMessageIO ------------------------- -KMessageIO::KMessageIO (TQObject *tqparent, const char *name) - : TQObject (tqparent, name), m_id (0) +KMessageIO::KMessageIO (TQObject *parent, const char *name) + : TQObject (parent, name), m_id (0) {} KMessageIO::~KMessageIO () @@ -48,9 +48,9 @@ TQ_UINT32 KMessageIO::id () // ----------------------KMessageSocket ----------------------- -KMessageSocket::KMessageSocket (TQString host, TQ_UINT16 port, TQObject *tqparent, +KMessageSocket::KMessageSocket (TQString host, TQ_UINT16 port, TQObject *parent, const char *name) - : KMessageIO (tqparent, name) + : KMessageIO (parent, name) { mSocket = new TQSocket (); mSocket->connectToHost (host, port); @@ -58,25 +58,25 @@ const char *name) } KMessageSocket::KMessageSocket (TQHostAddress host, TQ_UINT16 port, TQObject -*tqparent, const char *name) - : KMessageIO (tqparent, name) +*parent, const char *name) + : KMessageIO (parent, name) { mSocket = new TQSocket (); mSocket->connectToHost (host.toString(), port); initSocket (); } -KMessageSocket::KMessageSocket (TQSocket *socket, TQObject *tqparent, const char +KMessageSocket::KMessageSocket (TQSocket *socket, TQObject *parent, const char *name) - : KMessageIO (tqparent, name) + : KMessageIO (parent, name) { mSocket = socket; initSocket (); } -KMessageSocket::KMessageSocket (int socketFD, TQObject *tqparent, const char +KMessageSocket::KMessageSocket (int socketFD, TQObject *parent, const char *name) - : KMessageIO (tqparent, name) + : KMessageIO (parent, name) { mSocket = new TQSocket (); mSocket->setSocket (socketFD); @@ -177,9 +177,9 @@ TQString KMessageSocket::peerName () const // ----------------------KMessageDirect ----------------------- -KMessageDirect::KMessageDirect (KMessageDirect *partner, TQObject *tqparent, +KMessageDirect::KMessageDirect (KMessageDirect *partner, TQObject *parent, const char *name) - : KMessageIO (tqparent, name), mPartner (0) + : KMessageIO (parent, name), mPartner (0) { // 0 as first parameter leaves the object unconnected if (!partner) @@ -238,7 +238,7 @@ KMessageProcess::~KMessageProcess() // Maybe todo: delete mSendBuffer } } -KMessageProcess::KMessageProcess(TQObject *tqparent, TQString file) : KMessageIO(tqparent,0) +KMessageProcess::KMessageProcess(TQObject *parent, TQString file) : KMessageIO(parent,0) { // Start process kdDebug(11001) << "@@@KMessageProcess::Start process" << endl; @@ -397,7 +397,7 @@ void KMessageProcess::slotProcessExited(KProcess * /*p*/) // ----------------------- KMessageFilePipe --------------------------- -KMessageFilePipe::KMessageFilePipe(TQObject *tqparent,TQFile *readfile,TQFile *writefile) : KMessageIO(tqparent,0) +KMessageFilePipe::KMessageFilePipe(TQObject *parent,TQFile *readfile,TQFile *writefile) : KMessageIO(parent,0) { mReadFile=readfile; mWriteFile=writefile; @@ -430,7 +430,7 @@ void KMessageFilePipe::send(const TQByteArray &msg) mWriteFile->writeBlock(buffer); mWriteFile->flush(); /* - fprintf(stderr,"+++ KMessageFilePipe:: SEND(%d to tqparent) realsize=%d\n",msg.size(),buffer.size()); + fprintf(stderr,"+++ KMessageFilePipe:: SEND(%d to parent) realsize=%d\n",msg.size(),buffer.size()); for (int i=0;i