From a9bde819f2b421dcc44741156e75eca4bb5fb4f4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:49:30 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- certmanager/crlview.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'certmanager/crlview.cpp') 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 ) ); } -- cgit v1.2.1