summaryrefslogtreecommitdiffstats
path: root/src/rip/videodvd/k3bvideodvdrippingpreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rip/videodvd/k3bvideodvdrippingpreview.cpp')
-rw-r--r--src/rip/videodvd/k3bvideodvdrippingpreview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rip/videodvd/k3bvideodvdrippingpreview.cpp b/src/rip/videodvd/k3bvideodvdrippingpreview.cpp
index 2081d32..2f2b38e 100644
--- a/src/rip/videodvd/k3bvideodvdrippingpreview.cpp
+++ b/src/rip/videodvd/k3bvideodvdrippingpreview.cpp
@@ -74,7 +74,7 @@ void K3bVideoDVDRippingPreview::generatePreview( const K3bVideoDVD::VideoDVD& dv
m_tempDir = new KTempDir();
m_tempDir->setAutoDelete( true );
- m_process = new KProcess();
+ m_process = new TDEProcess();
*m_process << bin->path;
*m_process << "-i" << dvd.device()->blockDeviceName();
*m_process << "-T" << TQString("%1,%2").arg(title).arg(chapter);
@@ -85,9 +85,9 @@ void K3bVideoDVDRippingPreview::generatePreview( const K3bVideoDVD::VideoDVD& dv
*m_process << "-Z" << "x200";
*m_process << "-o" << m_tempDir->name();
- connect( m_process, TQT_SIGNAL(processExited(KProcess*)),
- this, TQT_SLOT(slotTranscodeFinished(KProcess*)) );
- if( !m_process->start( KProcess::NotifyOnExit, KProcess::AllOutput ) ) { // we use AllOutput to not pollute stdout
+ connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)),
+ this, TQT_SLOT(slotTranscodeFinished(TDEProcess*)) );
+ if( !m_process->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ) ) { // we use AllOutput to not pollute stdout
// something went wrong when starting the program
// it "should" be the executable
kdDebug() << "(K3bVideoDVDRippingPreview) Could not start transcode." << endl;
@@ -109,7 +109,7 @@ void K3bVideoDVDRippingPreview::cancel()
}
-void K3bVideoDVDRippingPreview::slotTranscodeFinished( KProcess* )
+void K3bVideoDVDRippingPreview::slotTranscodeFinished( TDEProcess* )
{
// read the image
TQString filename = m_tempDir->name() + "000000.ppm";// + tempTQDir->entryList( TQDir::Files ).first();