summaryrefslogtreecommitdiffstats
path: root/certmanager/crlview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/crlview.cpp')
-rw-r--r--certmanager/crlview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/certmanager/crlview.cpp b/certmanager/crlview.cpp
index 3318f8ddf..49c27d3e6 100644
--- a/certmanager/crlview.cpp
+++ b/certmanager/crlview.cpp
@@ -57,7 +57,7 @@ CRLView::CRLView( TQWidget* parent, const char* name, bool modal )
topLayout->addWidget( new TQLabel( i18n("CRL cache dump:"), this ) );
_textView = new TQTextEdit( this );
- _textView->setFont( KGlobalSettings::fixedFont() );
+ _textView->setFont( TDEGlobalSettings::fixedFont() );
_textView->setTextFormat( TQTextEdit::LogText );
topLayout->addWidget( _textView );
@@ -99,22 +99,22 @@ void CRLView::slotUpdateView()
_textView->clear();
_buffer = TQString();
if( _process == 0 ) {
- _process = new KProcess();
+ _process = new TDEProcess();
*_process << "gpgsm" << "--call-dirmngr" << "listcrls";
- connect( _process, TQT_SIGNAL( receivedStdout( KProcess*, char*, int) ),
- this, TQT_SLOT( slotReadStdout( KProcess*, char*, int ) ) );
- connect( _process, TQT_SIGNAL( processExited( KProcess* ) ),
+ connect( _process, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int) ),
+ this, TQT_SLOT( slotReadStdout( TDEProcess*, char*, int ) ) );
+ connect( _process, TQT_SIGNAL( processExited( TDEProcess* ) ),
this, TQT_SLOT( slotProcessExited() ) );
}
if( _process->isRunning() ) _process->kill();
- if( !_process->start( KProcess::NotifyOnExit, KProcess::Stdout ) ) {
+ if( !_process->start( TDEProcess::NotifyOnExit, TDEProcess::Stdout ) ) {
KMessageBox::error( this, i18n( "Unable to start gpgsm process. Please check your installation." ), i18n( "Certificate Manager Error" ) );
slotProcessExited();
}
_timer->start( 1000 );
}
-void CRLView::slotReadStdout( KProcess*, char* buf, int len)
+void CRLView::slotReadStdout( TDEProcess*, char* buf, int len)
{
_buffer.append( TQString::fromUtf8( buf, len ) );
}