diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-16 11:45:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-16 11:48:43 +0900 |
commit | 6d90c01c48d887053051fca3e1c9ca298a8fd1b3 (patch) | |
tree | 08c987954e7daf74a55a36481dac5a811b7bf323 /kate/app/katemwmodonhddialog.cpp | |
parent | 83e4d7076e1e5dfac804c0f89a1fcdf31795671a (diff) | |
download | tdebase-6d90c01c48d887053051fca3e1c9ca298a8fd1b3.tar.gz tdebase-6d90c01c48d887053051fca3e1c9ca298a8fd1b3.zip |
Use TDEProcIO class
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/app/katemwmodonhddialog.cpp')
-rw-r--r-- | kate/app/katemwmodonhddialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 <tdelistview.h> #include <tdelocale.h> #include <tdemessagebox.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <krun.h> #include <tdetempfile.h> #include <kpushbutton.h> @@ -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 ) |