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/gpasm.cpp | |
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/gpasm.cpp')
-rw-r--r-- | src/languages/gpasm.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/languages/gpasm.cpp b/src/languages/gpasm.cpp index 447354e..33cb892 100644 --- a/src/languages/gpasm.cpp +++ b/src/languages/gpasm.cpp @@ -18,10 +18,10 @@ #include <klocale.h> #include <kmessagebox.h> #include <kprocess.h> -#include <qregexp.h> +#include <tqregexp.h> -Gpasm::Gpasm( ProcessChain *processChain, KTechlab * parent ) - : ExternalLanguage( processChain, parent, "Gpasm" ) +Gpasm::Gpasm( ProcessChain *processChain, KTechlab * tqparent ) + : ExternalLanguage( processChain, tqparent, "Gpasm" ) { m_successfulMessage = i18n("*** Assembly successful ***"); m_failedMessage = i18n("*** Assembly failed ***"); @@ -124,15 +124,15 @@ void Gpasm::processInput( ProcessOptions options ) } -bool Gpasm::isError( const QString &message ) const +bool Gpasm::isError( const TQString &message ) const { - return message.contains( "Error", false ); + return message.tqcontains( "Error", false ); } -bool Gpasm::isWarning( const QString &message ) const +bool Gpasm::isWarning( const TQString &message ) const { - return message.contains( "Warning", false ); + return message.tqcontains( "Warning", false ); } |