summaryrefslogtreecommitdiffstats
path: root/kate
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-12-16 11:45:17 +0900
committerMichele Calgaro <[email protected]>2024-12-16 11:48:43 +0900
commit6d90c01c48d887053051fca3e1c9ca298a8fd1b3 (patch)
tree08c987954e7daf74a55a36481dac5a811b7bf323 /kate
parent83e4d7076e1e5dfac804c0f89a1fcdf31795671a (diff)
downloadtdebase-6d90c01c48d887053051fca3e1c9ca298a8fd1b3.tar.gz
tdebase-6d90c01c48d887053051fca3e1c9ca298a8fd1b3.zip
Use TDEProcIO class
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kate')
-rw-r--r--kate/app/katemwmodonhddialog.cpp8
-rw-r--r--kate/app/katemwmodonhddialog.h4
2 files changed, 6 insertions, 6 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 )
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 <kate/document.h>
typedef TQPtrVector<Kate::Document> 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: