From 6864ad16d2627a3d94340e0ce4431200c54ad0df Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 15 Dec 2024 22:25:16 +0900 Subject: Use TDEProcIO class Signed-off-by: Michele Calgaro --- src/aptcache.h | 2 +- src/dpkg.cpp | 4 ++-- src/dpkg.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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 #include "packagemanager.h" -#include +#include /** @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); -- cgit v1.2.1