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 --- khelpcenter/navigator.cpp | 2 +- khelpcenter/navigator.h | 2 +- khelpcenter/scrollkeepertreebuilder.cpp | 8 ++++---- khelpcenter/scrollkeepertreebuilder.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'khelpcenter') diff --git a/khelpcenter/navigator.cpp b/khelpcenter/navigator.cpp index 8b10688cd..5860e9af7 100644 --- a/khelpcenter/navigator.cpp +++ b/khelpcenter/navigator.cpp @@ -47,7 +47,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/khelpcenter/navigator.h b/khelpcenter/navigator.h index 798f71101..2cc03e99d 100644 --- a/khelpcenter/navigator.h +++ b/khelpcenter/navigator.h @@ -39,7 +39,7 @@ class TQPushButton; class TDEListView; class KService; class TDEProcess; -class KProcIO; +class TDEProcIO; class KCMHelpCenter; diff --git a/khelpcenter/scrollkeepertreebuilder.cpp b/khelpcenter/scrollkeepertreebuilder.cpp index 7d54f0f63..051a99231 100644 --- a/khelpcenter/scrollkeepertreebuilder.cpp +++ b/khelpcenter/scrollkeepertreebuilder.cpp @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include @@ -58,10 +58,10 @@ NavigatorItem *ScrollKeeperTreeBuilder::build( NavigatorItem *parent, kdDebug(1400) << "ScrollKeeper language: " << lang << endl; - KProcIO proc; + TDEProcIO proc; proc << "scrollkeeper-get-content-list"; proc << lang; - connect(&proc,TQ_SIGNAL(readReady(KProcIO *)),TQ_SLOT(getContentsList(KProcIO *))); + connect(&proc,TQ_SIGNAL(readReady(TDEProcIO *)),TQ_SLOT(getContentsList(TDEProcIO *))); if (!proc.start(TDEProcess::Block)) { kdDebug(1400) << "Could not execute scrollkeeper-get-content-list" << endl; return 0; @@ -106,7 +106,7 @@ NavigatorItem *ScrollKeeperTreeBuilder::build( NavigatorItem *parent, return result; } -void ScrollKeeperTreeBuilder::getContentsList( KProcIO *proc ) +void ScrollKeeperTreeBuilder::getContentsList( TDEProcIO *proc ) { TQString filename; proc->readln( filename, true ); diff --git a/khelpcenter/scrollkeepertreebuilder.h b/khelpcenter/scrollkeepertreebuilder.h index cca8a2c22..73ed064b3 100644 --- a/khelpcenter/scrollkeepertreebuilder.h +++ b/khelpcenter/scrollkeepertreebuilder.h @@ -25,7 +25,7 @@ #include "navigatoritem.h" -class KProcIO; +class TDEProcIO; class TQDomNode; @@ -40,7 +40,7 @@ class ScrollKeeperTreeBuilder : public TQObject NavigatorItem *build( NavigatorItem *parent, NavigatorItem *after ); private slots: - void getContentsList( KProcIO *proc ); + void getContentsList( TDEProcIO *proc ); private: void loadConfig(); -- cgit v1.2.1