From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/kprocio.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kdecore/kprocio.h') 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 +#include #include -#include +#include #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 outbuffer; - QCString recvbuffer; - QTextCodec *codec; + TQPtrList outbuffer; + TQCString recvbuffer; + TQTextCodec *codec; int rbi; bool needreadsignal, readsignalon, writeready; -- cgit v1.2.1