diff options
Diffstat (limited to 'libtdepim/collectingprocess.cpp')
-rw-r--r-- | libtdepim/collectingprocess.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libtdepim/collectingprocess.cpp b/libtdepim/collectingprocess.cpp index 58cdcb5ee..e9d640ceb 100644 --- a/libtdepim/collectingprocess.cpp +++ b/libtdepim/collectingprocess.cpp @@ -50,7 +50,7 @@ struct CollectingProcess::Private { CollectingProcess::CollectingProcess( TQObject * parent, const char * name ) - : KProcess( parent, name ) + : TDEProcess( parent, name ) { d = new Private(); } @@ -61,23 +61,23 @@ CollectingProcess::~CollectingProcess() { bool CollectingProcess::start( RunMode runmode, Communication comm ) { // prevent duplicate connection - disconnect( this, TQT_SIGNAL( receivedStdout( KProcess *, char *, int ) ), - this, TQT_SLOT( slotReceivedStdout( KProcess *, char *, int ) ) ); + disconnect( this, TQT_SIGNAL( receivedStdout( TDEProcess *, char *, int ) ), + this, TQT_SLOT( slotReceivedStdout( TDEProcess *, char *, int ) ) ); if ( comm & Stdout ) { - connect( this, TQT_SIGNAL( receivedStdout( KProcess *, char *, int ) ), - this, TQT_SLOT( slotReceivedStdout( KProcess *, char *, int ) ) ); + connect( this, TQT_SIGNAL( receivedStdout( TDEProcess *, char *, int ) ), + this, TQT_SLOT( slotReceivedStdout( TDEProcess *, char *, int ) ) ); } // prevent duplicate connection - disconnect( this, TQT_SIGNAL( receivedStderr( KProcess *, char *, int ) ), - this, TQT_SLOT( slotReceivedStderr( KProcess *, char *, int ) ) ); + disconnect( this, TQT_SIGNAL( receivedStderr( TDEProcess *, char *, int ) ), + this, TQT_SLOT( slotReceivedStderr( TDEProcess *, char *, int ) ) ); if ( comm & Stderr ) { - connect( this, TQT_SIGNAL( receivedStderr( KProcess *, char *, int ) ), - this, TQT_SLOT( slotReceivedStderr( KProcess *, char *, int ) ) ); + connect( this, TQT_SIGNAL( receivedStderr( TDEProcess *, char *, int ) ), + this, TQT_SLOT( slotReceivedStderr( TDEProcess *, char *, int ) ) ); } - return KProcess::start( runmode, comm ); + return TDEProcess::start( runmode, comm ); } -void CollectingProcess::slotReceivedStdout( KProcess *, char *buf, int len ) +void CollectingProcess::slotReceivedStdout( TDEProcess *, char *buf, int len ) { TQByteArray b; b.duplicate( buf, len ); @@ -85,7 +85,7 @@ void CollectingProcess::slotReceivedStdout( KProcess *, char *buf, int len ) d->stdoutSize += len; } -void CollectingProcess::slotReceivedStderr( KProcess *, char *buf, int len ) +void CollectingProcess::slotReceivedStderr( TDEProcess *, char *buf, int len ) { TQByteArray b; b.duplicate( buf, len ); @@ -134,7 +134,7 @@ TQByteArray CollectingProcess::collectedStderr() } void CollectingProcess::virtual_hook( int id, void * data ) { - KProcess::virtual_hook( id, data ); + TDEProcess::virtual_hook( id, data ); } #include "collectingprocess.moc" |