diff options
Diffstat (limited to 'kompare/libdiff2/parser.cpp')
-rw-r--r-- | kompare/libdiff2/parser.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kompare/libdiff2/parser.cpp b/kompare/libdiff2/parser.cpp index 04ff7a4a..1e3efc8a 100644 --- a/kompare/libdiff2/parser.cpp +++ b/kompare/libdiff2/parser.cpp @@ -34,13 +34,13 @@ Parser::~Parser() { } -int Parser::cleanUpCrap( QStringList& diffLines ) +int Parser::cleanUpCrap( TQStringList& diffLines ) { - QStringList::Iterator it = diffLines.begin(); + TQStringList::Iterator it = diffLines.begin(); int nol = 0; - QString noNewLine( "\\ No newline" ); + TQString noNewLine( "\\ No newline" ); for ( ; it != diffLines.end(); ++it ) { @@ -49,7 +49,7 @@ int Parser::cleanUpCrap( QStringList& diffLines ) it = diffLines.remove( it ); // correcting the advance of the iterator because of the remove --it; - QString temp( *it ); + TQString temp( *it ); temp.truncate( temp.find( '\n' ) ); *it = temp; ++nol; @@ -59,7 +59,7 @@ int Parser::cleanUpCrap( QStringList& diffLines ) return nol; } -DiffModelList* Parser::parse( QStringList& diffLines ) +DiffModelList* Parser::parse( TQStringList& diffLines ) { /* Basically determine the generator then call the parse method */ ParserBase* parser; @@ -107,14 +107,14 @@ DiffModelList* Parser::parse( QStringList& diffLines ) return modelList; } -enum Kompare::Generator Parser::determineGenerator( const QStringList& diffLines ) +enum Kompare::Generator Parser::determineGenerator( const TQStringList& diffLines ) { // Shit have to duplicate some code with this method and the ParserBase derived classes - QString cvsDiff ( "Index: " ); - QString perforceDiff( "==== " ); + TQString cvsDiff ( "Index: " ); + TQString perforceDiff( "==== " ); - QStringList::ConstIterator it = diffLines.begin(); - QStringList::ConstIterator linesEnd = diffLines.end(); + TQStringList::ConstIterator it = diffLines.begin(); + TQStringList::ConstIterator linesEnd = diffLines.end(); while ( it != linesEnd ) { |