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 --- tdmlib/kgreet_winbind.cpp | 6 +++--- tdmlib/kgreet_winbind.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tdmlib') diff --git a/tdmlib/kgreet_winbind.cpp b/tdmlib/kgreet_winbind.cpp index d14dcd112..2c6080f40 100644 --- a/tdmlib/kgreet_winbind.cpp +++ b/tdmlib/kgreet_winbind.cpp @@ -32,7 +32,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include #include #include -#include +#include #include #include @@ -612,8 +612,8 @@ KWinbindGreeter::slotStartDomainList() mDomainListTimer.stop(); mDomainListing.clear(); - m_domainLister = new KProcIO; - connect(m_domainLister, TQ_SIGNAL(readReady(KProcIO*)), TQ_SLOT(slotReadDomainList())); + m_domainLister = new TDEProcIO; + connect(m_domainLister, TQ_SIGNAL(readReady(TDEProcIO*)), TQ_SLOT(slotReadDomainList())); connect(m_domainLister, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(slotEndDomainList())); (*m_domainLister) << "wbinfo" << "--own-domain" << "--trusted-domains"; diff --git a/tdmlib/kgreet_winbind.h b/tdmlib/kgreet_winbind.h index 7bd8e59e6..9d26f4719 100644 --- a/tdmlib/kgreet_winbind.h +++ b/tdmlib/kgreet_winbind.h @@ -38,7 +38,7 @@ class KSimpleConfig; class TQGridLayout; class TQLabel; class KdmThemer; -class KProcIO; +class TDEProcIO; class KWinbindGreeter : public TQObject, public KGreeterPlugin { TQ_OBJECT @@ -92,7 +92,7 @@ class KWinbindGreeter : public TQObject, public KGreeterPlugin { KSimpleConfig *stsFile; TQString fixedDomain, fixedUser, curUser; TQStringList allUsers, mDomainListing; - KProcIO* m_domainLister; + TDEProcIO* m_domainLister; TQTimer mDomainListTimer; Function func; -- cgit v1.2.1