summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/shellprocess.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/lib/shellprocess.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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
};