diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/kprocctrl.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kprocctrl.cpp')
-rw-r--r-- | kdecore/kprocctrl.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdecore/kprocctrl.cpp b/kdecore/kprocctrl.cpp index 363d2d8ef..d8170c0a8 100644 --- a/kdecore/kprocctrl.cpp +++ b/kdecore/kprocctrl.cpp @@ -31,7 +31,7 @@ #include <stdio.h> #include <stdlib.h> -#include <qsocketnotifier.h> +#include <tqsocketnotifier.h> KProcessController *KProcessController::theKProcessController; int KProcessController::refCount; @@ -69,10 +69,10 @@ KProcessController::KProcessController() fcntl( fd[0], F_SETFD, FD_CLOEXEC ); fcntl( fd[1], F_SETFD, FD_CLOEXEC ); - notifier = new QSocketNotifier( fd[0], QSocketNotifier::Read ); + notifier = new TQSocketNotifier( fd[0], TQSocketNotifier::Read ); notifier->setEnabled( true ); - QObject::connect( notifier, SIGNAL(activated(int)), - SLOT(slotDoHousekeeping())); + TQObject::connect( notifier, TQT_SIGNAL(activated(int)), + TQT_SLOT(slotDoHousekeeping())); } KProcessController::~KProcessController() @@ -192,8 +192,8 @@ void KProcessController::slotDoHousekeeping() int status; again: - QValueListIterator<KProcess*> it( kProcessList.begin() ); - QValueListIterator<KProcess*> eit( kProcessList.end() ); + TQValueListIterator<KProcess*> it( kProcessList.begin() ); + TQValueListIterator<KProcess*> eit( kProcessList.end() ); while( it != eit ) { KProcess *prc = *it; @@ -207,8 +207,8 @@ void KProcessController::slotDoHousekeeping() } ++it; } - QValueListIterator<int> uit( unixProcessList.begin() ); - QValueListIterator<int> ueit( unixProcessList.end() ); + TQValueListIterator<int> uit( unixProcessList.begin() ); + TQValueListIterator<int> ueit( unixProcessList.end() ); while( uit != ueit ) { if( waitpid( *uit, 0, WNOHANG ) > 0 ) |