summaryrefslogtreecommitdiffstats
path: root/kbabel/common/msgfmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/common/msgfmt.cpp')
-rw-r--r--kbabel/common/msgfmt.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kbabel/common/msgfmt.cpp b/kbabel/common/msgfmt.cpp
index 61525a2f..86632720 100644
--- a/kbabel/common/msgfmt.cpp
+++ b/kbabel/common/msgfmt.cpp
@@ -20,11 +20,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -46,14 +46,14 @@
using namespace KBabel;
-Msgfmt::Msgfmt(TQObject* parent,const char* name)
- : TQObject(parent , name)
+Msgfmt::Msgfmt(TQObject* tqparent,const char* name)
+ : TQObject(tqparent , name)
{
}
-Msgfmt::Status Msgfmt::checkSyntax(TQString file,TQString& output, bool gnu)
+Msgfmt::tqStatus Msgfmt::checkSyntax(TQString file,TQString& output, bool gnu)
{
- Status stat=Ok;
+ tqStatus stat=Ok;
// this method does not return the right retrun values at the moment :-(
KProcess proc;
@@ -80,7 +80,7 @@ Msgfmt::Status Msgfmt::checkSyntax(TQString file,TQString& output, bool gnu)
}
else if(proc.normalExit())
{
- if( proc.exitStatus() || _output.contains(TQRegExp("^.+:\\d+:")) ) // little workaround :-(
+ if( proc.exitStatus() || _output.tqcontains(TQRegExp("^.+:\\d+:")) ) // little workaround :-(
stat=SyntaxError;
}
else
@@ -92,9 +92,9 @@ Msgfmt::Status Msgfmt::checkSyntax(TQString file,TQString& output, bool gnu)
return stat;
}
-Msgfmt::Status Msgfmt::checkSyntaxInDir(TQString dir,TQString regexp,TQString& output)
+Msgfmt::tqStatus Msgfmt::checkSyntaxInDir(TQString dir,TQString regexp,TQString& output)
{
- Status stat=Ok;
+ tqStatus stat=Ok;
// this method does not return the right return values at the moment :-(
KProcess proc;
@@ -109,7 +109,7 @@ Msgfmt::Status Msgfmt::checkSyntaxInDir(TQString dir,TQString regexp,TQString& o
_output="";
proc << "IFS='\n'; msgfmt --statistics -o /dev/null "
- "$(find" << KProcess::quote(dir) << "-name" << KProcess::quote(regexp) << ")";
+ "$(tqfind" << KProcess::quote(dir) << "-name" << KProcess::quote(regexp) << ")";
if(!proc.start(KProcess::Block,KProcess::Stderr))
{
@@ -117,7 +117,7 @@ Msgfmt::Status Msgfmt::checkSyntaxInDir(TQString dir,TQString regexp,TQString& o
}
else if(proc.normalExit())
{
- if( proc.exitStatus() || _output.contains(TQRegExp("^.+:\\d+:")) ) // little workaround :-(
+ if( proc.exitStatus() || _output.tqcontains(TQRegExp("^.+:\\d+:")) ) // little workaround :-(
stat=SyntaxError;
}
else