summaryrefslogtreecommitdiffstats
path: root/lskat/lskat/KChildConnect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lskat/lskat/KChildConnect.cpp')
-rw-r--r--lskat/lskat/KChildConnect.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lskat/lskat/KChildConnect.cpp b/lskat/lskat/KChildConnect.cpp
index 61931693..35ac9408 100644
--- a/lskat/lskat/KChildConnect.cpp
+++ b/lskat/lskat/KChildConnect.cpp
@@ -20,7 +20,7 @@
#include "KChildConnect.moc"
KChildConnect::KChildConnect()
- : QObject(0,0)
+ : TQObject(0,0)
{
input_pending=false;
inputbuffer="";
@@ -38,14 +38,14 @@ KR_STATUS KChildConnect::QueryStatus()
// Communication with process
bool KChildConnect::SendMsg(KEMessage *msg)
{
- QString sendstring=msg->ToString();
+ TQString sendstring=msg->ToString();
// Debug only
- if (msg->HasKey(QCString("KLogSendMsg")))
+ if (msg->HasKey(TQCString("KLogSendMsg")))
{
char *p;
int size;
FILE *fp;
- msg->GetData(QCString("KLogSendMsg"),p,size);
+ msg->GetData(TQCString("KLogSendMsg"),p,size);
if (p && (fp=fopen(p,"a")) )
{
fprintf(fp,"------------------------------------\n");
@@ -58,7 +58,7 @@ bool KChildConnect::SendMsg(KEMessage *msg)
}
// Send string to parent
-bool KChildConnect::Send(QString str)
+bool KChildConnect::Send(TQString str)
{
if (!str || str.length()<1) return true; // no need to send crap
printf("%s",str.latin1());
@@ -66,11 +66,11 @@ bool KChildConnect::Send(QString str)
return true;
}
-void KChildConnect::Receive(QString input)
+void KChildConnect::Receive(TQString input)
{
// Cut out CR
int len,pos;
- QString tmp;
+ TQString tmp;
// Call us recursive until there are no CR left
@@ -104,7 +104,7 @@ void KChildConnect::Receive(QString input)
char *it;
for (it=inputcache.first();it!=0;it=inputcache.next())
{
- msg->AddString(QCString(it));
+ msg->AddString(TQCString(it));
}
// printf("+- CHILDprocess:: GOT MESSAGE::Emmiting slotReceiveMsg\n");