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 --- kdesu/process.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kdesu/process.h') diff --git a/kdesu/process.h b/kdesu/process.h index 8a2004d92..c45132a9c 100644 --- a/kdesu/process.h +++ b/kdesu/process.h @@ -15,15 +15,15 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include #include class PTY; -typedef QValueList QCStringList; +typedef TQValueList QCStringList; /** * Synchronous communication with tty programs. @@ -46,7 +46,7 @@ public: * @param command The command to execute. * @param args The arguments to the command. */ - int exec(const QCString &command, const QCStringList &args); + int exec(const TQCString &command, const QCStringList &args); /** * Reads a line from the program's standard out. Depending on the @em block @@ -54,33 +54,33 @@ public: * @param block Block until a full line is read? * @return The output string. */ - QCString readLine(bool block=true); + TQCString readLine(bool block=true); /** * Read all available output from the program's standard out. * @param block If no output is in the buffer, should the function block * @return The output. */ - QCString readAll(bool block=true); + TQCString readAll(bool block=true); /** * Writes a line of text to the program's standard in. * @param line The text to write. * @param addNewline Adds a '\n' to the line. */ - void writeLine(const QCString &line, bool addNewline=true); + void writeLine(const TQCString &line, bool addNewline=true); /** * Puts back a line of input. * @param line The line to put back. * @param addNewline Adds a '\n' to the line. */ - void unreadLine(const QCString &line, bool addNewline=true); + void unreadLine(const TQCString &line, bool addNewline=true); /** * Sets the exit string. If a line of program output matches this, * waitForChild() will terminate the program and return. */ - void setExitString(const QCString &exit) { m_Exit = exit; } + void setExitString(const TQCString &exit) { m_Exit = exit; } /** * Waits for the child to exit. See also setExitString. @@ -168,14 +168,14 @@ protected: bool m_bErase, m_bTerminal; int m_Pid, m_Fd; - QCString m_Command, m_Exit; + TQCString m_Command, m_Exit; private: int init(); int SetupTTY(int fd); PTY *m_pPTY; - QCString m_Inbuf, m_TTY; + TQCString m_Inbuf, m_TTY; protected: virtual void virtual_hook( int id, void* data ); -- cgit v1.2.1