summaryrefslogtreecommitdiffstats
path: root/src/rip/k3bvideocdview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rip/k3bvideocdview.cpp')
-rw-r--r--src/rip/k3bvideocdview.cpp48
1 files changed, 20 insertions, 28 deletions
diff --git a/src/rip/k3bvideocdview.cpp b/src/rip/k3bvideocdview.cpp
index 52549e6..2e5595c 100644
--- a/src/rip/k3bvideocdview.cpp
+++ b/src/rip/k3bvideocdview.cpp
@@ -24,7 +24,7 @@
#include <kstandarddirs.h>
#include <kstdaction.h>
-// qt includes
+// TQt includes
#include <tqfont.h>
#include <tqframe.h>
#include <tqheader.h>
@@ -173,14 +173,14 @@ K3bVideoCdView::K3bVideoCdView( TQWidget* parent, const char *name )
m_trackView->setItemsRenameable( false );
m_trackView->setRootIsDecorated( true );
- connect( m_trackView, TQT_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
- this, TQT_SLOT( slotContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
- connect( m_trackView, TQT_SIGNAL( selectionChanged( TQListViewItem* ) ),
- this, TQT_SLOT( slotTrackSelectionChanged( TQListViewItem* ) ) );
- connect( m_trackView, TQT_SIGNAL( clicked( TQListViewItem* ) ),
- this, TQT_SLOT( slotStateChanged( TQListViewItem* ) ) );
- connect( m_trackView, TQT_SIGNAL( spacePressed( TQListViewItem* ) ),
- this, TQT_SLOT( slotStateChanged( TQListViewItem* ) ) );
+ connect( m_trackView, TQ_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
+ this, TQ_SLOT( slotContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
+ connect( m_trackView, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ),
+ this, TQ_SLOT( slotTrackSelectionChanged( TQListViewItem* ) ) );
+ connect( m_trackView, TQ_SIGNAL( clicked( TQListViewItem* ) ),
+ this, TQ_SLOT( slotStateChanged( TQListViewItem* ) ) );
+ connect( m_trackView, TQ_SIGNAL( spacePressed( TQListViewItem* ) ),
+ this, TQ_SLOT( slotStateChanged( TQListViewItem* ) ) );
mainGrid->addLayout( toolBoxLayout, 0, 0 );
@@ -248,11 +248,11 @@ void K3bVideoCdView::reloadMedium()
m_videooptions ->setVideoCdSource( device()->devicename() );
- m_videocdinfo = new K3bVideoCdInfo( TQT_TQOBJECT(this) );
+ m_videocdinfo = new K3bVideoCdInfo( this );
m_videocdinfo->info( device()->devicename() );
- connect( m_videocdinfo, TQT_SIGNAL( infoFinished( bool ) ),
- this, TQT_SLOT( slotVideoCdInfoFinished( bool ) ) );
+ connect( m_videocdinfo, TQ_SIGNAL( infoFinished( bool ) ),
+ this, TQ_SLOT( slotVideoCdInfoFinished( bool ) ) );
}
@@ -322,20 +322,20 @@ void K3bVideoCdView::initActions()
{
m_actionCollection = new TDEActionCollection( this );
- TDEAction* actionSelectAll = KStdAction::selectAll( TQT_TQOBJECT(this), TQT_SLOT( slotSelectAll() ),
+ TDEAction* actionSelectAll = KStdAction::selectAll( this, TQ_SLOT( slotSelectAll() ),
m_actionCollection, "select_all" );
- TDEAction* actionDeselectAll = KStdAction::deselect( TQT_TQOBJECT(this), TQT_SLOT( slotDeselectAll() ),
+ TDEAction* actionDeselectAll = KStdAction::deselect( this, TQ_SLOT( slotDeselectAll() ),
m_actionCollection, "deselect_all" );
actionDeselectAll->setText( i18n( "Dese&lect All" ) );
- TDEAction* actionSelect = new TDEAction( i18n( "Select Track" ), 0, 0, TQT_TQOBJECT(this),
- TQT_SLOT( slotSelect() ), actionCollection(),
+ TDEAction* actionSelect = new TDEAction( i18n( "Select Track" ), 0, 0, this,
+ TQ_SLOT( slotSelect() ), actionCollection(),
"select_track" );
- TDEAction* actionDeselect = new TDEAction( i18n( "Deselect Track" ), 0, 0, TQT_TQOBJECT(this),
- TQT_SLOT( slotDeselect() ), actionCollection(),
+ TDEAction* actionDeselect = new TDEAction( i18n( "Deselect Track" ), 0, 0, this,
+ TQ_SLOT( slotDeselect() ), actionCollection(),
"deselect_track" );
- TDEAction* actionStartRip = new TDEAction( i18n( "Start Ripping" ), "system-run", 0, TQT_TQOBJECT(this),
- TQT_SLOT( startRip() ), actionCollection(), "start_rip" );
+ TDEAction* actionStartRip = new TDEAction( i18n( "Start Ripping" ), "system-run", 0, this,
+ TQ_SLOT( startRip() ), actionCollection(), "start_rip" );
// TODO: set the actions tooltips and whatsthis infos
@@ -368,14 +368,6 @@ void K3bVideoCdView::slotTrackSelectionChanged( TQListViewItem* item )
void K3bVideoCdView::slotStateChanged( TQListViewItem* item )
{
- /* > QT 3.1
- if ( !item == 0 && item ->isSelectable() ) {
- if ( ( ( VideoTrackViewCheckItem* ) item) ->state() == TQCheckListItem::On)
- slotSelect();
- else if ( ( ( VideoTrackViewCheckItem* ) item) ->state() == TQCheckListItem::Off)
- slotDeselect();
- }
- */
if ( !item == 0 && item ->isSelectable() ) {
if ( ( ( VideoTrackViewCheckItem* ) item) ->isOn() )
slotSelect();