summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-12-15 22:25:16 +0900
committerMichele Calgaro <[email protected]>2024-12-15 22:25:16 +0900
commit6864ad16d2627a3d94340e0ce4431200c54ad0df (patch)
tree55e80ac7bbfd46c492e34cf69076efc75b2910bd
parent8e4e5b563093f6a40aff290e050d7444791fdf8c (diff)
downloadtdeio-apt-master.tar.gz
tdeio-apt-master.zip
Use TDEProcIO classHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--src/aptcache.h2
-rw-r--r--src/dpkg.cpp4
-rw-r--r--src/dpkg.h6
3 files changed, 6 insertions, 6 deletions
diff --git a/src/aptcache.h b/src/aptcache.h
index 3bf444d..cdcfda9 100644
--- a/src/aptcache.h
+++ b/src/aptcache.h
@@ -27,7 +27,7 @@ class AptCache : public TQObject {
typedef void (AptCache::*ReceiveMethod) (const TQStringList& lines);
ReceiveMethod m_receive;
- // KProcIO messes the stderr and the stdout lines :(
+ // TDEProcIO messes the stderr and the stdout lines :(
TDEProcess m_process;
TQString m_received_out, m_received_err;
diff --git a/src/dpkg.cpp b/src/dpkg.cpp
index 22aeb4b..afd9755 100644
--- a/src/dpkg.cpp
+++ b/src/dpkg.cpp
@@ -23,7 +23,7 @@
Dpkg::Dpkg(TQObject *parent, const char *name)
: PackageManager(parent, name)
{
- connect(&m_process, TQ_SIGNAL(readReady (KProcIO *)), this, TQ_SLOT(readReady(KProcIO*)));
+ connect(&m_process, TQ_SIGNAL(readReady (TDEProcIO *)), this, TQ_SLOT(readReady(TDEProcIO*)));
}
Dpkg::~Dpkg()
@@ -41,7 +41,7 @@ int Dpkg::capabilities( int query ) const
return NOT_SUPPORTED;
}
-void Dpkg::readReady(KProcIO*)
+void Dpkg::readReady(TDEProcIO*)
{
bool partial;
diff --git a/src/dpkg.h b/src/dpkg.h
index c122e7f..a0f8bc1 100644
--- a/src/dpkg.h
+++ b/src/dpkg.h
@@ -13,7 +13,7 @@
#include <config.h>
#include "packagemanager.h"
-#include <kprocio.h>
+#include <tdeprocio.h>
/**
@author Sylvain Joyeux
@@ -26,11 +26,11 @@ class Dpkg : public PackageManager
typedef void (Dpkg::*ReceiveMethod) (const TQStringList& lines);
ReceiveMethod m_receive;
- KProcIO m_process;
+ TDEProcIO m_process;
TQString m_buffer;
private slots:
- void readReady(KProcIO* io);
+ void readReady(TDEProcIO* io);
private:
void receiveSearch(const TQStringList& line);