From 87a016680e3677da3993f333561e79eb0cead7d5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 29 Jun 2011 16:05:55 +0000 Subject: 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 --- src/languages/externallanguage.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/languages/externallanguage.h') 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 -- cgit v1.2.1