summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/shellprocess.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/shellprocess.h')
-rw-r--r--kalarm/lib/shellprocess.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kalarm/lib/shellprocess.h b/kalarm/lib/shellprocess.h
index 06a262a8d..a3b8a574b 100644
--- a/kalarm/lib/shellprocess.h
+++ b/kalarm/lib/shellprocess.h
@@ -72,7 +72,7 @@ class ShellProcess : public KShellProcess
/** Constructor.
* @param command The command line to be run when start() is called.
*/
- explicit ShellProcess(const QString& command);
+ explicit ShellProcess(const TQString& command);
/** Executes the configured command.
* @param comm Which communication links should be established to the child process
* (stdin/stdout/stderr).
@@ -85,12 +85,12 @@ class ShellProcess : public KShellProcess
*/
bool normalExit() const { return mStatus == SUCCESS; }
/** Returns the command configured to be run. */
- const QString& command() const { return mCommand; }
+ const TQString& command() const { return mCommand; }
/** Returns the error message corresponding to the command exit status.
* @return Error message if an error occurred. Null string if the command has not yet
* exited, or if the command ran successfully.
*/
- QString errorMessage() const;
+ TQString errorMessage() const;
/** Writes a string to the process's STDIN. */
void writeStdin(const char* buffer, int bufflen);
/** Tell the process to exit once any outstanding STDIN strings have been written. */
@@ -102,11 +102,11 @@ class ShellProcess : public KShellProcess
/** Determines which shell to use.
* @return file name of shell, excluding path.
*/
- static const QCString& shellName() { shellPath(); return mShellName; }
+ static const TQCString& shellName() { shellPath(); return mShellName; }
/** Determines which shell to use.
* @return path name of shell.
*/
- static const QCString& shellPath();
+ static const TQCString& shellPath();
signals:
/** Signal emitted when the shell process execution completes. It is not emitted
@@ -120,17 +120,17 @@ class ShellProcess : public KShellProcess
private:
// Prohibit the following inherited methods
- ShellProcess& operator<<(const QString&);
- ShellProcess& operator<<(const QCString&);
- ShellProcess& operator<<(const QStringList&);
+ ShellProcess& operator<<(const TQString&);
+ ShellProcess& operator<<(const TQCString&);
+ ShellProcess& operator<<(const TQStringList&);
ShellProcess& operator<<(const char*);
- static QCString mShellName; // name of shell to be used
- static QCString mShellPath; // path of shell to be used
+ static TQCString mShellName; // name of shell to be used
+ static TQCString mShellPath; // path of shell to be used
static bool mInitialised; // true once static data has been initialised
static bool mAuthorised; // true if shell commands are authorised
- QString mCommand; // copy of command to be executed
- QValueList<QCString> mStdinQueue; // queued strings to send to STDIN
+ TQString mCommand; // copy of command to be executed
+ TQValueList<TQCString> mStdinQueue; // queued strings to send to STDIN
Status mStatus; // current execution status
bool mStdinExit; // exit once STDIN queue has been written
};