diff options
Diffstat (limited to 'src/languages/externallanguage.h')
-rw-r--r-- | src/languages/externallanguage.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/languages/externallanguage.h b/src/languages/externallanguage.h index 401c2b8..51a34f6 100644 --- a/src/languages/externallanguage.h +++ b/src/languages/externallanguage.h @@ -25,8 +25,9 @@ class provides functionality for dealing with external processes. class ExternalLanguage : public Language { Q_OBJECT + TQ_OBJECT public: - ExternalLanguage( ProcessChain *processChain, KTechlab *parent, const QString &name ); + ExternalLanguage( ProcessChain *processChain, KTechlab *tqparent, const TQString &name ); ~ExternalLanguage(); protected slots: @@ -44,27 +45,27 @@ protected: /** * @returns whether the string outputted to stdout is an error or not */ - virtual bool isError( const QString &message ) const = 0; + virtual bool isError( const TQString &message ) const = 0; /** * @returns whether the string outputted to stderr is fatal (stopped compilation) */ - virtual bool isStderrOutputFatal( const QString & message ) const { Q_UNUSED(message); return true; } + virtual bool isStderrOutputFatal( const TQString & message ) const { Q_UNUSED(message); return true; } /** * @returns whether the string outputted to stdout is a warning or not */ - virtual bool isWarning( const QString &message ) const = 0; + virtual bool isWarning( const TQString &message ) const = 0; /** * Called when the process outputs a (non warning/error) message */ - virtual void outputtedMessage( const QString &/*message*/ ) {}; + virtual void outputtedMessage( const TQString &/*message*/ ) {}; /** * Called when the process outputs a warning */ - virtual void outputtedWarning( const QString &/*message*/ ) {}; + virtual void outputtedWarning( const TQString &/*message*/ ) {}; /** * Called when the process outputs an error */ - virtual void outputtedError( const QString &/*message*/ ) {}; + virtual void outputtedError( const TQString &/*message*/ ) {}; /** * Called when the process exits (called before any signals are emitted, * etc). If you reinherit this function, you should return whether |