summaryrefslogtreecommitdiffstats
path: root/kdecore/kprocio.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/kprocio.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kprocio.h')
-rw-r--r--kdecore/kprocio.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kdecore/kprocio.h b/kdecore/kprocio.h
index 192c16fc1..1cd397deb 100644
--- a/kdecore/kprocio.h
+++ b/kdecore/kprocio.h
@@ -18,9 +18,9 @@
#ifndef KPROCIO_H_
#define KPROCIO_H_
-#include <qstring.h>
+#include <tqstring.h>
#include <kprocess.h>
-#include <qstrlist.h>
+#include <tqstrlist.h>
#include "kdelibs_export.h"
class KProcIOPrivate;
@@ -55,7 +55,7 @@ public:
/**
* Constructor
*/
- KProcIO ( QTextCodec *codec = 0 );
+ KProcIO ( TQTextCodec *codec = 0 );
/**
* Destructor
@@ -93,7 +93,7 @@ public:
* @param appendnewline if true, a newline '\\n' is appended.
* @return true if successful, false otherwise
**/
- bool writeStdin(const QString &line, bool appendnewline=true);
+ bool writeStdin(const TQString &line, bool appendnewline=true);
/**
* Writes text to stdin of the process.
@@ -101,14 +101,14 @@ public:
* @param appendnewline if true, a newline '\\n' is appended.
* @return true if successful, false otherwise
**/
- bool writeStdin(const QCString &line, bool appendnewline);
+ bool writeStdin(const TQCString &line, bool appendnewline);
/**
* Writes data to stdin of the process.
* @param data Data to write.
* @return true if successful, false otherwise
**/
- bool writeStdin(const QByteArray &data);
+ bool writeStdin(const TQByteArray &data);
//I like fputs better -- it's the same as writeStdin
//inline
@@ -120,7 +120,7 @@ public:
* @return true if successful, false otherwise
* @deprecated
**/
- KDE_DEPRECATED bool fputs (const QString &line, bool AppendNewLine=true)
+ KDE_DEPRECATED bool fputs (const TQString &line, bool AppendNewLine=true)
{ return writeStdin(line, AppendNewLine); }
/**
@@ -149,7 +149,7 @@ public:
* false if the line contains a '\\n' and false otherwise.
* @return the number of characters read, or -1 if no data is available.
**/
- int readln (QString &line, bool autoAck=true, bool *partial=0);
+ int readln (TQString &line, bool autoAck=true, bool *partial=0);
/**
* This function calls readln().
@@ -159,7 +159,7 @@ public:
* @deprecated use readln. Note that it has an inverted autoAck default,
* though.
**/
- KDE_DEPRECATED int fgets (QString &line, bool autoAck=false)
+ KDE_DEPRECATED int fgets (TQString &line, bool autoAck=false)
{ return readln (line, autoAck); }
/**
@@ -195,9 +195,9 @@ signals:
void readReady(KProcIO *pio);
protected:
- QPtrList<QByteArray> outbuffer;
- QCString recvbuffer;
- QTextCodec *codec;
+ TQPtrList<TQByteArray> outbuffer;
+ TQCString recvbuffer;
+ TQTextCodec *codec;
int rbi;
bool needreadsignal, readsignalon, writeready;