From 6d90c01c48d887053051fca3e1c9ca298a8fd1b3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 16 Dec 2024 11:45:17 +0900 Subject: Use TDEProcIO class Signed-off-by: Michele Calgaro --- kate/app/katemwmodonhddialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kate/app/katemwmodonhddialog.cpp') diff --git a/kate/app/katemwmodonhddialog.cpp b/kate/app/katemwmodonhddialog.cpp index ffdd92fa7..978095010 100644 --- a/kate/app/katemwmodonhddialog.cpp +++ b/kate/app/katemwmodonhddialog.cpp @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include #include @@ -213,11 +213,11 @@ void KateMwModOnHdDialog::slotDiff() return; // Start a TDEProcess that creates a diff - KProcIO *p = new KProcIO(); + TDEProcIO *p = new TDEProcIO(); p->setComm( TDEProcess::All ); *p << "diff" << "-u" << "-" << doc->url().path(); connect( p, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotPDone(TDEProcess*)) ); - connect( p, TQ_SIGNAL(readReady(KProcIO*)), this, TQ_SLOT(slotPRead(KProcIO*)) ); + connect( p, TQ_SIGNAL(readReady(TDEProcIO*)), this, TQ_SLOT(slotPRead(TDEProcIO*)) ); setCursor( WaitCursor ); @@ -230,7 +230,7 @@ void KateMwModOnHdDialog::slotDiff() p->closeWhenDone(); } -void KateMwModOnHdDialog::slotPRead( KProcIO *p) +void KateMwModOnHdDialog::slotPRead( TDEProcIO *p) { // create a file for the diff if we haven't one allready if ( ! m_tmpfile ) -- cgit v1.2.1