diff options
Diffstat (limited to 'certmanager/lib/backends/qgpgme/qgpgmesecretkeyexportjob.cpp')
-rw-r--r-- | certmanager/lib/backends/qgpgme/qgpgmesecretkeyexportjob.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/certmanager/lib/backends/qgpgme/qgpgmesecretkeyexportjob.cpp b/certmanager/lib/backends/qgpgme/qgpgmesecretkeyexportjob.cpp index f409df735..f553c7039 100644 --- a/certmanager/lib/backends/qgpgme/qgpgmesecretkeyexportjob.cpp +++ b/certmanager/lib/backends/qgpgme/qgpgmesecretkeyexportjob.cpp @@ -88,16 +88,16 @@ GpgME::Error Kleo::QGpgMESecretKeyExportJob::start( const TQStringList & pattern mProcess->setUsetStatusFD( true ); - connect( mProcess, TQT_SIGNAL(processExited(KProcess*)), - TQT_SLOT(slotProcessExited(KProcess*)) ); - connect( mProcess, TQT_SIGNAL(receivedStdout(KProcess*,char*,int)), - TQT_SLOT(slotStdout(KProcess*,char*,int)) ); - connect( mProcess, TQT_SIGNAL(receivedStderr(KProcess*,char*,int)), - TQT_SLOT(slotStderr(KProcess*,char*,int)) ); + connect( mProcess, TQT_SIGNAL(processExited(TDEProcess*)), + TQT_SLOT(slotProcessExited(TDEProcess*)) ); + connect( mProcess, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)), + TQT_SLOT(slotStdout(TDEProcess*,char*,int)) ); + connect( mProcess, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)), + TQT_SLOT(slotStderr(TDEProcess*,char*,int)) ); connect( mProcess, TQT_SIGNAL(status(Kleo::GnuPGProcessBase*,const TQString&,const TQStringList&)), TQT_SLOT(slotStatus(Kleo::GnuPGProcessBase*,const TQString&,const TQStringList&)) ); - if ( !mProcess->start( KProcess::NotifyOnExit, KProcess::AllOutput ) ) { + if ( !mProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ) ) { mError = gpg_err_make( GPG_ERR_SOURCE_GPGSM, GPG_ERR_ENOENT ); // what else? deleteLater(); return mError; @@ -165,7 +165,7 @@ void Kleo::QGpgMESecretKeyExportJob::slotStatus( GnuPGProcessBase * proc, const } } -void Kleo::QGpgMESecretKeyExportJob::slotStdout( KProcess * proc, char * buf, int buflen ) { +void Kleo::QGpgMESecretKeyExportJob::slotStdout( TDEProcess * proc, char * buf, int buflen ) { if ( proc != mProcess ) return; if ( buflen <= 0 ) @@ -177,11 +177,11 @@ void Kleo::QGpgMESecretKeyExportJob::slotStdout( KProcess * proc, char * buf, in memcpy( mKeyData.data() + oldlen, buf, buflen ); } -void Kleo::QGpgMESecretKeyExportJob::slotStderr( KProcess *, char *, int ) { +void Kleo::QGpgMESecretKeyExportJob::slotStderr( TDEProcess *, char *, int ) { // implement? or not? } -void Kleo::QGpgMESecretKeyExportJob::slotProcessExited( KProcess * proc ) { +void Kleo::QGpgMESecretKeyExportJob::slotProcessExited( TDEProcess * proc ) { if ( proc != mProcess ) return; |