summaryrefslogtreecommitdiffstats
path: root/kdat/VerifyDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdat/VerifyDlg.cpp')
-rw-r--r--kdat/VerifyDlg.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdat/VerifyDlg.cpp b/kdat/VerifyDlg.cpp
index 3b1c9b1..c402a02 100644
--- a/kdat/VerifyDlg.cpp
+++ b/kdat/VerifyDlg.cpp
@@ -210,7 +210,7 @@ void VerifyDlg::show()
{
chdir( TQFile::encodeName(_workingDir) );
- _proc = new KProcess();
+ _proc = new TDEProcess();
//_proc->setExecutable( Options::instance()->getTarCommand() );
*_proc << Options::instance()->getTarCommand();
if ( _restore ) {
@@ -219,19 +219,19 @@ void VerifyDlg::show()
*_proc << "-dvf" << "-";
}
- connect( _proc, TQT_SIGNAL( processExited( KProcess* ) ), this, TQT_SLOT( slotProcessExited( KProcess* ) ) );
- connect( _proc, TQT_SIGNAL( receivedStdout( KProcess*, char*, int ) ), this, TQT_SLOT( slotStdout( KProcess*, char*, int ) ) );
- connect( _proc, TQT_SIGNAL( wroteStdin( KProcess* ) ), this, TQT_SLOT( slotWroteStdin( KProcess* ) ) );
+ connect( _proc, TQT_SIGNAL( processExited( TDEProcess* ) ), this, TQT_SLOT( slotProcessExited( TDEProcess* ) ) );
+ connect( _proc, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ), this, TQT_SLOT( slotStdout( TDEProcess*, char*, int ) ) );
+ connect( _proc, TQT_SIGNAL( wroteStdin( TDEProcess* ) ), this, TQT_SLOT( slotWroteStdin( TDEProcess* ) ) );
_startTime = time( NULL );
startTimer( 100 );
- _proc->start( KProcess::NotifyOnExit, KProcess::All );
+ _proc->start( TDEProcess::NotifyOnExit, TDEProcess::All );
TQDialog::show();
}
-void VerifyDlg::slotProcessExited( KProcess* )
+void VerifyDlg::slotProcessExited( TDEProcess* )
{
TQT_TQOBJECT(this)->killTimers();
delete _proc;
@@ -245,7 +245,7 @@ void VerifyDlg::slotProcessExited( KProcess* )
_abort->setEnabled( FALSE );
}
-void VerifyDlg::slotStdout( KProcess*, char* buf, int len )
+void VerifyDlg::slotStdout( TDEProcess*, char* buf, int len )
{
TQString data;
data.replace( 0, len, buf );
@@ -286,7 +286,7 @@ void VerifyDlg::slotStdout( KProcess*, char* buf, int len )
}
}
-void VerifyDlg::slotWroteStdin( KProcess* )
+void VerifyDlg::slotWroteStdin( TDEProcess* )
{
_wroteStdin = TRUE;
}