summaryrefslogtreecommitdiffstats
path: root/libk3b/projects/videocd/k3bvcddoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libk3b/projects/videocd/k3bvcddoc.cpp')
-rw-r--r--libk3b/projects/videocd/k3bvcddoc.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/libk3b/projects/videocd/k3bvcddoc.cpp b/libk3b/projects/videocd/k3bvcddoc.cpp
index eb40f16..2b2b0b3 100644
--- a/libk3b/projects/videocd/k3bvcddoc.cpp
+++ b/libk3b/projects/videocd/k3bvcddoc.cpp
@@ -13,7 +13,7 @@
* See the file "COPYING" for the exact licensing terms.
*/
-// QT-includes
+// TQt includes
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqfile.h>
@@ -24,13 +24,13 @@
#include <tqtextstream.h>
// KDE-includes
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <kurl.h>
#include <tdeapplication.h>
#include <tdemessagebox.h>
#include <tdeconfig.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeio/global.h>
#include <kdebug.h>
#include <kstdguiitem.h>
@@ -59,11 +59,11 @@ K3bVcdDoc::K3bVcdDoc( TQObject* parent )
m_vcdType = NONE;
m_urlAddingTimer = new TQTimer( this );
- connect( m_urlAddingTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotWorkUrlQueue() ) );
+ connect( m_urlAddingTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotWorkUrlQueue() ) );
// FIXME: remove the newTracks() signal and replace it with the changed signal
- connect( this, TQT_SIGNAL( newTracks() ), this, TQT_SIGNAL( changed() ) );
- connect( this, TQT_SIGNAL( trackRemoved( K3bVcdTrack* ) ), this, TQT_SIGNAL( changed() ) );
+ connect( this, TQ_SIGNAL( newTracks() ), this, TQ_SIGNAL( changed() ) );
+ connect( this, TQ_SIGNAL( trackRemoved( K3bVcdTrack* ) ), this, TQ_SIGNAL( changed() ) );
}
K3bVcdDoc::~K3bVcdDoc()
@@ -207,7 +207,7 @@ K3bVcdTrack* K3bVcdDoc::createTrack( const KURL& url )
m_urlAddingTimer->stop();
setVcdType( vcdTypes( mpegVersion ) );
vcdOptions() ->setMpegVersion( mpegVersion );
- KMessageBox::information( kapp->mainWidget(),
+ KMessageBox::information( tdeApp->mainWidget(),
i18n( "K3b will create a %1 image from the given MPEG "
"files, but these files must already be in %2 "
"format. K3b does not yet resample MPEG files." )
@@ -219,7 +219,7 @@ K3bVcdTrack* K3bVcdDoc::createTrack( const KURL& url )
m_urlAddingTimer->stop();
vcdOptions() ->setMpegVersion( mpegVersion );
bool force = false;
- force = ( KMessageBox::questionYesNo( kapp->mainWidget(),
+ force = ( KMessageBox::questionYesNo( tdeApp->mainWidget(),
i18n( "K3b will create a %1 image from the given MPEG "
"files, but these files must already be in %2 "
"format. K3b does not yet resample MPEG files." )
@@ -242,7 +242,7 @@ K3bVcdTrack* K3bVcdDoc::createTrack( const KURL& url )
if ( numOfTracks() > 0 && vcdOptions() ->mpegVersion() != mpegVersion ) {
- KMessageBox::error( kapp->mainWidget(), "(" + url.path() + ")\n" +
+ KMessageBox::error( tdeApp->mainWidget(), "(" + url.path() + ")\n" +
i18n( "You cannot mix MPEG1 and MPEG2 video files.\nPlease start a new Project for this filetype.\nResample not implemented in K3b yet." ),
i18n( "Wrong File Type for This Project" ) );
@@ -254,7 +254,7 @@ K3bVcdTrack* K3bVcdDoc::createTrack( const KURL& url )
*( newTrack->mpeg_info ) = *( Mpeg->mpeg_info );
if ( newTrack->isSegment() && !vcdOptions()->PbcEnabled() ) {
- KMessageBox::information( kapp->mainWidget(),
+ KMessageBox::information( tdeApp->mainWidget(),
i18n( "PBC (Playback control) enabled.\n"
"Videoplayers can not reach Segments (Mpeg Still Pictures) without Playback control ." ) ,
i18n( "Information" ) );
@@ -286,7 +286,7 @@ K3bVcdTrack* K3bVcdDoc::createTrack( const KURL& url )
}
// error (unsupported files)
- KMessageBox::error( kapp->mainWidget(), "(" + url.path() + ")\n" +
+ KMessageBox::error( tdeApp->mainWidget(), "(" + url.path() + ")\n" +
i18n( "Only MPEG1 and MPEG2 video files are supported.\n" ) + error_string ,
i18n( "Wrong File Format" ) );