1
/***************************************************************************
2
* Copyright (C) 1999-2001 by Bernd Gehrmann and the KDevelop Team *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
***************************************************************************/
12
#include "commandcontinuationfilter.h"
16
CommandContinuationFilter::CommandContinuationFilter( OutputFilter& next )
17
: OutputFilter( next )
21
void CommandContinuationFilter::processLine( const QString& line )
23
int index=line.length()-1;
26
if (line[index]=='\\')
28
m_text += line.left(index);
32
if (!line[index].isSpace())
38
OutputFilter::processLine( m_text );