summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/kmessageio.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /libkdegames/kgame/kmessageio.cpp
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz
tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip
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
Diffstat (limited to 'libkdegames/kgame/kmessageio.cpp')
-rw-r--r--libkdegames/kgame/kmessageio.cpp30
1 files changed, 15 insertions, 15 deletions
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<buffer.size();i++) fprintf(stderr,"%02x ",buffer[i]);fprintf(stderr,"\n");
fflush(stderr);
*/