summaryrefslogtreecommitdiffstats
path: root/kompare/libdiff2/perforceparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/libdiff2/perforceparser.cpp')
-rw-r--r--kompare/libdiff2/perforceparser.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kompare/libdiff2/perforceparser.cpp b/kompare/libdiff2/perforceparser.cpp
index 907d88ff..0e0a2aef 100644
--- a/kompare/libdiff2/perforceparser.cpp
+++ b/kompare/libdiff2/perforceparser.cpp
@@ -15,7 +15,7 @@
**
***************************************************************************/
-#include <qregexp.h>
+#include <tqregexp.h>
#include <kdebug.h>
@@ -23,7 +23,7 @@
using namespace Diff2;
-PerforceParser::PerforceParser( const KompareModelList* list, const QStringList& diff ) : ParserBase( list, diff )
+PerforceParser::PerforceParser( const KompareModelList* list, const TQStringList& diff ) : ParserBase( list, diff )
{
m_contextDiffHeader1.setPattern( "==== (.*) - (.*) ====\\n" );
m_contextDiffHeader1.setMinimal( true );
@@ -43,13 +43,13 @@ enum Kompare::Format PerforceParser::determineFormat()
{
kdDebug(8101) << "Determining the format of the Perforce Diff" << endl;
- QRegExp unifiedRE( "^@@" );
- QRegExp contextRE( "^\\*{15}" );
- QRegExp normalRE ( "^\\d+(|,\\d+)[acd]\\d+(|,\\d+)" );
- QRegExp rcsRE ( "^[acd]\\d+ \\d+" );
+ TQRegExp unifiedRE( "^@@" );
+ TQRegExp contextRE( "^\\*{15}" );
+ TQRegExp normalRE ( "^\\d+(|,\\d+)[acd]\\d+(|,\\d+)" );
+ TQRegExp rcsRE ( "^[acd]\\d+ \\d+" );
// Summary is not supported since it gives no useful parsable info
- QStringList::ConstIterator it = m_diffLines.begin();
+ TQStringList::ConstIterator it = m_diffLines.begin();
while( it != m_diffLines.end() )
{
@@ -84,10 +84,10 @@ bool PerforceParser::parseContextDiffHeader()
// kdDebug(8101) << "ParserBase::parseContextDiffHeader()" << endl;
bool result = false;
- QStringList::ConstIterator itEnd = m_diffLines.end();
+ TQStringList::ConstIterator itEnd = m_diffLines.end();
- QRegExp sourceFileRE ( "([^\\#]+)#(\\d+)" );
- QRegExp destinationFileRE( "([^\\#]+)#(|\\d+)" );
+ TQRegExp sourceFileRE ( "([^\\#]+)#(\\d+)" );
+ TQRegExp destinationFileRE( "([^\\#]+)#(|\\d+)" );
while ( m_diffIterator != itEnd )
{
@@ -128,10 +128,10 @@ bool PerforceParser::parseNormalDiffHeader()
{
bool result = false;
- QStringList::ConstIterator itEnd = m_diffLines.end();
+ TQStringList::ConstIterator itEnd = m_diffLines.end();
- QRegExp sourceFileRE ( "([^\\#]+)#(\\d+)" );
- QRegExp destinationFileRE( "([^\\#]+)#(|\\d+)" );
+ TQRegExp sourceFileRE ( "([^\\#]+)#(\\d+)" );
+ TQRegExp destinationFileRE( "([^\\#]+)#(|\\d+)" );
while ( m_diffIterator != itEnd )
{
@@ -179,10 +179,10 @@ bool PerforceParser::parseUnifiedDiffHeader()
{
bool result = false;
- QStringList::ConstIterator itEnd = m_diffLines.end();
+ TQStringList::ConstIterator itEnd = m_diffLines.end();
- QRegExp sourceFileRE ( "([^\\#]+)#(\\d+)" );
- QRegExp destinationFileRE( "([^\\#]+)#(|\\d+)" );
+ TQRegExp sourceFileRE ( "([^\\#]+)#(\\d+)" );
+ TQRegExp destinationFileRE( "([^\\#]+)#(|\\d+)" );
while ( m_diffIterator != itEnd )
{