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 ++++---- kate/app/katemwmodonhddialog.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kate') 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 ) diff --git a/kate/app/katemwmodonhddialog.h b/kate/app/katemwmodonhddialog.h index 2ca012f84..e9b867a71 100644 --- a/kate/app/katemwmodonhddialog.h +++ b/kate/app/katemwmodonhddialog.h @@ -25,7 +25,7 @@ #include typedef TQPtrVector DocVector; -class KProcIO; +class TDEProcIO; class TDEProcess; /** * A dialog for handling multiple documents modified on disk @@ -46,7 +46,7 @@ class KateMwModOnHdDialog : public KDialogBase private slots: void slotDiff(); void slotSelectionChanged(); - void slotPRead(KProcIO*); + void slotPRead(TDEProcIO*); void slotPDone(TDEProcess*); private: -- cgit v1.2.1