summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9mp4enc.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:19:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:19:42 -0600
commit6ee2a113c808e9fe2fa25ae6dc2ca7d6ca366015 (patch)
tree22f7e5a7a405a6d3631ab8b7ca21df6161b6f7d8 /libk9copy/k9mp4enc.cpp
parent7ab25fa204dd2b42267fcd509e4a2a91627641e5 (diff)
downloadk9copy-6ee2a113c808e9fe2fa25ae6dc2ca7d6ca366015.tar.gz
k9copy-6ee2a113c808e9fe2fa25ae6dc2ca7d6ca366015.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'libk9copy/k9mp4enc.cpp')
-rw-r--r--libk9copy/k9mp4enc.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libk9copy/k9mp4enc.cpp b/libk9copy/k9mp4enc.cpp
index 0f4aaca..7f33e97 100644
--- a/libk9copy/k9mp4enc.cpp
+++ b/libk9copy/k9mp4enc.cpp
@@ -395,13 +395,13 @@ void k9MP4Enc::execute ( k9DVDTitle *_title )
tqDebug ( "%s", s.ascii() );
time->start();
m_timer3.start();
- connect ( m_process, TQT_SIGNAL ( receivedStdout ( KProcess *, char *, int ) ),this, TQT_SLOT ( getStdout ( KProcess *, char *, int ) ) );
- connect ( m_process, TQT_SIGNAL ( receivedStderr ( KProcess *, char *, int ) ),this, TQT_SLOT ( getStderr ( KProcess *, char *, int ) ) );
- //connect(m_process, TQT_SIGNAL(processExited(KProcess*)),this,TQT_SLOT(exited(KProcess*)));
+ connect ( m_process, TQT_SIGNAL ( receivedStdout ( TDEProcess *, char *, int ) ),this, TQT_SLOT ( getStdout ( TDEProcess *, char *, int ) ) );
+ connect ( m_process, TQT_SIGNAL ( receivedStderr ( TDEProcess *, char *, int ) ),this, TQT_SLOT ( getStderr ( TDEProcess *, char *, int ) ) );
+ //connect(m_process, TQT_SIGNAL(processExited(TDEProcess*)),this,TQT_SLOT(exited(TDEProcess*)));
connect ( m_progress,TQT_SIGNAL ( sigCancel() ),this,TQT_SLOT ( slotCancel() ) );
m_canceled=false;
m_progress->show();
- m_process->start ( KProcess::OwnGroup, KProcess::All );
+ m_process->start ( TDEProcess::OwnGroup, TDEProcess::All );
timer->start ( 500, 0 );
m_process->sync();
//if application is exiting, kill the encoding process
@@ -473,7 +473,7 @@ int k9MP4Enc::getBitRate ( k9DVDTitle *_title )
}
-void k9MP4Enc::getStdout ( KProcess *, char *buffer, int buflen )
+void k9MP4Enc::getStdout ( TDEProcess *, char *buffer, int buflen )
{
TQCString tmp ( buffer,buflen );
m_cpt++;
@@ -501,7 +501,7 @@ void k9MP4Enc::getStdout ( KProcess *, char *buffer, int buflen )
}
-void k9MP4Enc::getStderr ( KProcess *proc, char *buffer, int buflen )
+void k9MP4Enc::getStderr ( TDEProcess *proc, char *buffer, int buflen )
{
//m_stderr=TQString::fromLatin1(buffer,buflen);
TQCString cstderr ( buffer,buflen+1 );