summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/shellprocess.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
commit0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch)
tree4138783f7dad757fc5fbfaa8d66a355288d3125e /kalarm/lib/shellprocess.h
parent9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff)
downloadtdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz
tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kalarm/lib/shellprocess.h')
-rw-r--r--kalarm/lib/shellprocess.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kalarm/lib/shellprocess.h b/kalarm/lib/shellprocess.h
index fd303bea0..a4ff79889 100644
--- a/kalarm/lib/shellprocess.h
+++ b/kalarm/lib/shellprocess.h
@@ -61,7 +61,7 @@ class ShellProcess : public KShellProcess
* @li NOT_FOUND - the command was either not found or not executable.
* @li START_FAIL - the command couldn't be started for other reasons.
*/
- enum tqStatus {
+ enum Status {
INACTIVE, // start() has not yet been called to run the command
RUNNING, // command is currently running
SUCCESS, // command appears to have exited successfully
@@ -80,11 +80,11 @@ class ShellProcess : public KShellProcess
*/
bool start(Communication comm = NoCommunication);
/** Returns the current status of the shell process. */
- tqStatus status() const { return mtqStatus; }
+ Status status() const { return mStatus; }
/** Returns whether the command was run successfully.
* @return True if the command has been run and appears to have exited successfully.
*/
- bool normalExit() const { return mtqStatus == SUCCESS; }
+ bool normalExit() const { return mStatus == SUCCESS; }
/** Returns the command configured to be run. */
const TQString& command() const { return mCommand; }
/** Returns the error message corresponding to the command exit status.
@@ -132,7 +132,7 @@ class ShellProcess : public KShellProcess
static bool mAuthorised; // true if shell commands are authorised
TQString mCommand; // copy of command to be executed
TQValueList<TQCString> mStdinQueue; // queued strings to send to STDIN
- tqStatus mtqStatus; // current execution status
+ Status mStatus; // current execution status
bool mStdinExit; // exit once STDIN queue has been written
};