diff options
Diffstat (limited to 'src/svnfrontend/graphtree/revgraphview.cpp')
-rw-r--r-- | src/svnfrontend/graphtree/revgraphview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/svnfrontend/graphtree/revgraphview.cpp b/src/svnfrontend/graphtree/revgraphview.cpp index 494c73a..fec18ba 100644 --- a/src/svnfrontend/graphtree/revgraphview.cpp +++ b/src/svnfrontend/graphtree/revgraphview.cpp @@ -162,12 +162,12 @@ void RevGraphView::endInsert() viewport()->setUpdatesEnabled(true); } -void RevGraphView::readDotOutput(KProcess*,char * buffer,int buflen) +void RevGraphView::readDotOutput(TDEProcess*,char * buffer,int buflen) { dotOutput+=TQString::fromLocal8Bit(buffer, buflen); } -void RevGraphView::dotExit(KProcess*p) +void RevGraphView::dotExit(TDEProcess*p) { if (p!=renderProcess)return; // remove line breaks when lines to long @@ -491,14 +491,14 @@ void RevGraphView::dumpRevtree() } } *stream << "}\n"<<flush; - renderProcess = new KProcess(); + renderProcess = new TDEProcess(); renderProcess->setEnvironment("LANG","C"); *renderProcess << "dot"; *renderProcess << dotTmpFile->name() << "-Tplain"; - connect(renderProcess,TQT_SIGNAL(processExited(KProcess*)),this,TQT_SLOT(dotExit(KProcess*))); - connect(renderProcess,TQT_SIGNAL(receivedStdout(KProcess*,char*,int)), - this,TQT_SLOT(readDotOutput(KProcess*,char*,int)) ); - if (!renderProcess->start(KProcess::NotifyOnExit,KProcess::Stdout)) { + connect(renderProcess,TQT_SIGNAL(processExited(TDEProcess*)),this,TQT_SLOT(dotExit(TDEProcess*))); + connect(renderProcess,TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)), + this,TQT_SLOT(readDotOutput(TDEProcess*,char*,int)) ); + if (!renderProcess->start(TDEProcess::NotifyOnExit,TDEProcess::Stdout)) { TQString arguments; for (unsigned c=0;c<renderProcess->args().count();++c) { arguments+=TQString(" %1").arg(renderProcess->args()[c].data()); |