Changeset View
Changeset View
Standalone View
Standalone View
krArc/krlinecountingprocess.cpp
Show All 15 Lines | |||||
16 | * GNU General Public License for more details. * | 16 | * GNU General Public License for more details. * | ||
17 | * * | 17 | * * | ||
18 | * You should have received a copy of the GNU General Public License * | 18 | * You should have received a copy of the GNU General Public License * | ||
19 | * along with Krusader. If not, see [http://www.gnu.org/licenses/]. * | 19 | * along with Krusader. If not, see [http://www.gnu.org/licenses/]. * | ||
20 | *****************************************************************************/ | 20 | *****************************************************************************/ | ||
21 | 21 | | |||
22 | #include "krlinecountingprocess.h" | 22 | #include "krlinecountingprocess.h" | ||
23 | 23 | | |||
24 | KrLinecountingProcess::KrLinecountingProcess() : KProcess() | 24 | KrLinecountingProcess::KrLinecountingProcess() | ||
25 | { | 25 | { | ||
26 | setOutputChannelMode(KProcess::SeparateChannels); // without this output redirection has no effect! | 26 | setOutputChannelMode(KProcess::SeparateChannels); // without this output redirection has no effect! | ||
27 | connect(this, SIGNAL(readyReadStandardError()), SLOT(receivedError())); | 27 | connect(this, SIGNAL(readyReadStandardError()), SLOT(receivedError())); | ||
28 | connect(this, SIGNAL(readyReadStandardOutput()), SLOT(receivedOutput())); | 28 | connect(this, SIGNAL(readyReadStandardOutput()), SLOT(receivedOutput())); | ||
29 | mergedOutput = true; | 29 | mergedOutput = true; | ||
30 | } | 30 | } | ||
31 | 31 | | |||
32 | void KrLinecountingProcess::setMerge(bool value) | 32 | void KrLinecountingProcess::setMerge(bool value) | ||
Show All 34 Lines |