diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
commit | 87a016680e3677da3993f333561e79eb0cead7d5 (patch) | |
tree | cbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/languages/externallanguage.h | |
parent | 6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff) | |
download | ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip |
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 |