diff options
Diffstat (limited to 'kdesu/process.h')
-rw-r--r-- | kdesu/process.h | 26 |
1 files changed, 13 insertions, 13 deletions
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 <sys/types.h> -#include <qcstring.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qvaluelist.h> +#include <tqcstring.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqvaluelist.h> #include <kdelibs_export.h> class PTY; -typedef QValueList<QCString> QCStringList; +typedef TQValueList<TQCString> 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 ); |