diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-16 11:45:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-16 11:48:43 +0900 |
commit | 6d90c01c48d887053051fca3e1c9ca298a8fd1b3 (patch) | |
tree | 08c987954e7daf74a55a36481dac5a811b7bf323 /kcontrol | |
parent | 83e4d7076e1e5dfac804c0f89a1fcdf31795671a (diff) | |
download | tdebase-6d90c01c48d887053051fca3e1c9ca298a8fd1b3.tar.gz tdebase-6d90c01c48d887053051fca3e1c9ca298a8fd1b3.zip |
Use TDEProcIO class
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol')
-rw-r--r-- | kcontrol/fonts/fonts.cpp | 4 | ||||
-rw-r--r-- | kcontrol/konqhtml/pluginopts.cpp | 10 | ||||
-rw-r--r-- | kcontrol/konqhtml/pluginopts.h | 6 | ||||
-rw-r--r-- | kcontrol/krdb/krdb.cpp | 2 |
4 files changed, 11 insertions, 11 deletions
diff --git a/kcontrol/fonts/fonts.cpp b/kcontrol/fonts/fonts.cpp index 5913662ce..d6ec1ae62 100644 --- a/kcontrol/fonts/fonts.cpp +++ b/kcontrol/fonts/fonts.cpp @@ -28,7 +28,7 @@ #include <kipc.h> #include <tdemessagebox.h> #include <knuminput.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <ksimpleconfig.h> #include <kstandarddirs.h> #include <stdlib.h> @@ -736,7 +736,7 @@ void TDEFonts::save() // otherwise don't explicitly remove it and leave any possible system-wide value if(dpi == DPINone) { - KProcIO proc; + TDEProcIO proc; proc << "xrdb" << "-quiet" << "-remove" << "-nocpp"; proc.writeStdin( TQCString( "Xft.dpi" ), true ); proc.closeWhenDone(); diff --git a/kcontrol/konqhtml/pluginopts.cpp b/kcontrol/konqhtml/pluginopts.cpp index b36f7f1a7..9bb43849f 100644 --- a/kcontrol/konqhtml/pluginopts.cpp +++ b/kcontrol/konqhtml/pluginopts.cpp @@ -22,7 +22,7 @@ #include <tdelistview.h> #include <tdelocale.h> #include <tdemessagebox.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <kstandarddirs.h> #include <kurlrequester.h> @@ -291,7 +291,7 @@ void KPluginOptions::scan() save(); } - m_nspluginscan = new KProcIO; + m_nspluginscan = new TDEProcIO; TQString scanExe = TDEGlobal::dirs()->findExe("nspluginscan"); if (!scanExe) { kdDebug() << "can't find nspluginviewer" << endl; @@ -312,8 +312,8 @@ void KPluginOptions::scan() // start nspluginscan *m_nspluginscan << scanExe << "--verbose"; kdDebug() << "Running nspluginscan" << endl; - connect(m_nspluginscan, TQ_SIGNAL(readReady(KProcIO*)), - this, TQ_SLOT(progress(KProcIO*))); + connect(m_nspluginscan, TQ_SIGNAL(readReady(TDEProcIO*)), + this, TQ_SLOT(progress(TDEProcIO*))); connect(m_nspluginscan, TQ_SIGNAL(processExited(TDEProcess *)), this, TQ_SLOT(scanDone())); connect(m_progress, TQ_SIGNAL(cancelled()), this, TQ_SLOT(scanDone())); @@ -321,7 +321,7 @@ void KPluginOptions::scan() m_nspluginscan->start(); } -void KPluginOptions::progress(KProcIO *proc) +void KPluginOptions::progress(TDEProcIO *proc) { TQString line; while(proc->readln(line) > 0) diff --git a/kcontrol/konqhtml/pluginopts.h b/kcontrol/konqhtml/pluginopts.h index aa060f311..3d87597af 100644 --- a/kcontrol/konqhtml/pluginopts.h +++ b/kcontrol/konqhtml/pluginopts.h @@ -28,7 +28,7 @@ class TQProgressDialog; class TQSlider; class KDialogBase; class KPluginOptions; -class KProcIO; +class TDEProcIO; /** policies with plugin-specific constructor */ @@ -118,7 +118,7 @@ private: protected slots: - void progress(KProcIO *); + void progress(TDEProcIO *); void updatePLabel(int); void change() { change( true ); }; void change( bool c ) { emit changed(c); m_changed = c; }; @@ -130,7 +130,7 @@ private: NSConfigWidget *m_widget; bool m_changed; TQProgressDialog *m_progress; - KProcIO* m_nspluginscan; + TDEProcIO* m_nspluginscan; TQSlider *priority; TQLabel *priorityLabel; PluginPolicies global_policies; diff --git a/kcontrol/krdb/krdb.cpp b/kcontrol/krdb/krdb.cpp index 25db21f3c..09dc7955f 100644 --- a/kcontrol/krdb/krdb.cpp +++ b/kcontrol/krdb/krdb.cpp @@ -34,7 +34,7 @@ #include <kdebug.h> #include <tdeglobalsettings.h> #include <kstandarddirs.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <ksavefile.h> #include <tdetempfile.h> #include <tdelocale.h> |