diff options
Diffstat (limited to 'kopete')
-rw-r--r-- | kopete/plugins/cryptography/kgpginterface.cpp | 2 | ||||
-rw-r--r-- | kopete/plugins/cryptography/kgpgselkey.cpp | 2 | ||||
-rw-r--r-- | kopete/plugins/cryptography/popuppublic.cpp | 8 | ||||
-rw-r--r-- | kopete/plugins/cryptography/popuppublic.h | 4 | ||||
-rw-r--r-- | kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp | 6 | ||||
-rw-r--r-- | kopete/protocols/winpopup/libwinpopup/libwinpopup.h | 4 | ||||
-rw-r--r-- | kopete/protocols/winpopup/wpuserinfo.cpp | 6 | ||||
-rw-r--r-- | kopete/protocols/winpopup/wpuserinfo.h | 4 |
8 files changed, 18 insertions, 18 deletions
diff --git a/kopete/plugins/cryptography/kgpginterface.cpp b/kopete/plugins/cryptography/kgpginterface.cpp index 79cd2510..ba3743df 100644 --- a/kopete/plugins/cryptography/kgpginterface.cpp +++ b/kopete/plugins/cryptography/kgpginterface.cpp @@ -28,7 +28,7 @@ #include <unistd.h> #include <tqfile.h> -#include <kprocio.h> +#include <tdeprocio.h> //#include "kdetailedconsole.h" diff --git a/kopete/plugins/cryptography/kgpgselkey.cpp b/kopete/plugins/cryptography/kgpgselkey.cpp index bdb09c86..ff16e230 100644 --- a/kopete/plugins/cryptography/kgpgselkey.cpp +++ b/kopete/plugins/cryptography/kgpgselkey.cpp @@ -69,7 +69,7 @@ KgpgSelKey::KgpgSelKey(TQWidget *parent, const char *name,bool showlocal):KDialo TQString tst,tst2; char line[130]; - // FIXME: Why use popen instead of TDEProcess, TQProcess or KProcIO?!? + // FIXME: Why use popen instead of TDEProcess, TQProcess or TDEProcIO?!? // Are we interested in having buffer overflows now? - Martijn fp = popen( "gpg --no-tty --with-colon --list-secret-keys", "r" ); while ( fgets( line, sizeof(line), fp)) diff --git a/kopete/plugins/cryptography/popuppublic.cpp b/kopete/plugins/cryptography/popuppublic.cpp index 6c1d7271..faa9d95b 100644 --- a/kopete/plugins/cryptography/popuppublic.cpp +++ b/kopete/plugins/cryptography/popuppublic.cpp @@ -34,7 +34,7 @@ #include <tdeversion.h> #include <tdelistview.h> #include <tdeprocess.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <tdelocale.h> #include <tdeaccel.h> #include <tdelistviewsearchline.h> @@ -347,11 +347,11 @@ void popupPublic::refreshkeys() } } }*/ - KProcIO *encid=new KProcIO(); + TDEProcIO *encid=new TDEProcIO(); *encid << "gpg"<<"--no-secmem-warning"<<"--no-tty"<<"--with-colon"<<"--list-keys"; ///////// when process ends, update dialog infos TQObject::connect(encid, TQ_SIGNAL(processExited(TDEProcess *)),this, TQ_SLOT(slotpreselect())); - TQObject::connect(encid, TQ_SIGNAL(readReady(KProcIO *)),this, TQ_SLOT(slotprocread(KProcIO *))); + TQObject::connect(encid, TQ_SIGNAL(readReady(TDEProcIO *)),this, TQ_SLOT(slotprocread(TDEProcIO *))); encid->start(TDEProcess::NotifyOnExit,true); } @@ -382,7 +382,7 @@ void popupPublic::slotSetVisible() keysList->ensureItemVisible(keysList->currentItem()); } -void popupPublic::slotprocread(KProcIO *p) +void popupPublic::slotprocread(TDEProcIO *p) { ///////////////////////////////////////////////////////////////// extract encryption keys bool dead; diff --git a/kopete/plugins/cryptography/popuppublic.h b/kopete/plugins/cryptography/popuppublic.h index cbd301ba..96c7656c 100644 --- a/kopete/plugins/cryptography/popuppublic.h +++ b/kopete/plugins/cryptography/popuppublic.h @@ -29,7 +29,7 @@ class TQPushButton; class TQCheckBox; class TDEListView; class TQButtonGroup; -class KProcIO; +class TDEProcIO; class popupPublic : public KDialogBase //TQDialog { @@ -53,7 +53,7 @@ private: private slots: void customOpts(const TQString &); - void slotprocread(KProcIO *); + void slotprocread(TDEProcIO *); void slotpreselect(); void refreshkeys(); void refresh(bool state); diff --git a/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp b/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp index 138f2957..e9859834 100644 --- a/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp +++ b/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp @@ -159,10 +159,10 @@ void WinPopupLib::startReadProcess(const TQString &Host) currentGroup = TQString(); // for Samba 3 - KProcIO *reader = new KProcIO; + TDEProcIO *reader = new TDEProcIO; *reader << smbClientBin << "-N" << "-E" << "-g" << "-L" << Host << "-"; - connect(reader, TQ_SIGNAL(readReady(KProcIO *)), this, TQ_SLOT(slotReadProcessReady(KProcIO *))); + connect(reader, TQ_SIGNAL(readReady(TDEProcIO *)), this, TQ_SLOT(slotReadProcessReady(TDEProcIO *))); connect(reader, TQ_SIGNAL(processExited(TDEProcess *)), this, TQ_SLOT(slotReadProcessExited(TDEProcess *))); if (!reader->start(TDEProcess::NotifyOnExit, true)) { @@ -171,7 +171,7 @@ void WinPopupLib::startReadProcess(const TQString &Host) } } -void WinPopupLib::slotReadProcessReady(KProcIO *r) +void WinPopupLib::slotReadProcessReady(TDEProcIO *r) { TQString tmpLine = TQString(); TQRegExp group("^Workgroup\\|(.*)\\|(.*)$"), host("^Server\\|(.*)\\|(.*)$"), diff --git a/kopete/protocols/winpopup/libwinpopup/libwinpopup.h b/kopete/protocols/winpopup/libwinpopup/libwinpopup.h index 91887308..ca7beecf 100644 --- a/kopete/protocols/winpopup/libwinpopup/libwinpopup.h +++ b/kopete/protocols/winpopup/libwinpopup/libwinpopup.h @@ -26,7 +26,7 @@ #include <tqdatetime.h> // KDE Includes -#include <kprocio.h> +#include <tdeprocio.h> #include <tdefileitem.h> const TQString WP_POPUP_DIR = TQString::fromLatin1("/var/lib/winpopup"); @@ -76,7 +76,7 @@ private: private slots: void slotUpdateGroupData(); void startReadProcess(const TQString &Host); - void slotReadProcessReady(KProcIO *r); + void slotReadProcessReady(TDEProcIO *r); void slotReadProcessExited(TDEProcess *r); void slotSendProcessExited(TDEProcess *p); void slotStartDirLister(); diff --git a/kopete/protocols/winpopup/wpuserinfo.cpp b/kopete/protocols/winpopup/wpuserinfo.cpp index 32fc6837..bfa05fcf 100644 --- a/kopete/protocols/winpopup/wpuserinfo.cpp +++ b/kopete/protocols/winpopup/wpuserinfo.cpp @@ -62,10 +62,10 @@ void WPUserInfo::startDetailsProcess(const TQString &host) TDEGlobal::config()->setGroup("WinPopup"); TQString theSMBClientPath = TDEGlobal::config()->readEntry("SMBClientPath", "/usr/bin/smbclient"); - KProcIO *details = new KProcIO; + TDEProcIO *details = new TDEProcIO; *details << theSMBClientPath << "-N" << "-E" << "-g" << "-L" << host << "-"; - connect(details, TQ_SIGNAL(readReady(KProcIO *)), this, TQ_SLOT(slotDetailsProcessReady(KProcIO *))); + connect(details, TQ_SIGNAL(readReady(TDEProcIO *)), this, TQ_SLOT(slotDetailsProcessReady(TDEProcIO *))); connect(details, TQ_SIGNAL(processExited(TDEProcess *)), this, TQ_SLOT(slotDetailsProcessExited(TDEProcess *))); if (!details->start(TDEProcess::NotifyOnExit, TDEProcess::Stderr)) { @@ -74,7 +74,7 @@ void WPUserInfo::startDetailsProcess(const TQString &host) } } -void WPUserInfo::slotDetailsProcessReady(KProcIO *d) +void WPUserInfo::slotDetailsProcessReady(TDEProcIO *d) { TQString tmpLine = TQString(); TQRegExp info("^Domain=\\[(.*)\\]\\sOS=\\[(.*)\\]\\sServer=\\[(.*)\\]$"), host("^Server\\|(.*)\\|(.*)$"); diff --git a/kopete/protocols/winpopup/wpuserinfo.h b/kopete/protocols/winpopup/wpuserinfo.h index 62122e50..6be73929 100644 --- a/kopete/protocols/winpopup/wpuserinfo.h +++ b/kopete/protocols/winpopup/wpuserinfo.h @@ -23,7 +23,7 @@ // KDE Includes #include <kdialogbase.h> -#include <kprocio.h> +#include <tdeprocio.h> // Local Includes #include "wpuserinfowidget.h" @@ -42,7 +42,7 @@ class WPUserInfo : public KDialogBase void startDetailsProcess(const TQString &host); private slots: - void slotDetailsProcessReady(KProcIO *d); + void slotDetailsProcessReady(TDEProcIO *d); void slotDetailsProcessExited(TDEProcess *d); void slotCloseClicked(); |