summaryrefslogtreecommitdiffstats
path: root/krec
diff options
context:
space:
mode:
Diffstat (limited to 'krec')
-rw-r--r--krec/krecord.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/krec/krecord.cpp b/krec/krecord.cpp
index 8228ef13..5c14882f 100644
--- a/krec/krecord.cpp
+++ b/krec/krecord.cpp
@@ -206,8 +206,8 @@ void KRecPrivate::playthru( bool yes ){
void KRecPrivate::checkActions(){
_impl->actionCollection()->action( "player_record" )->setEnabled( false );
- _impl->actionCollection()->action( "player_play" )->setEnabled( false );
- _impl->actionCollection()->action( "player_stop" )->setEnabled( false );
+ _impl->actionCollection()->action( "media-playback-start" )->setEnabled( false );
+ _impl->actionCollection()->action( "media-playback-stop" )->setEnabled( false );
_impl->actionCollection()->action( "player_gobegin" )->setEnabled( false );
_impl->actionCollection()->action( "player_goend" )->setEnabled( false );
_impl->actionCollection()->action( "export_file" )->setEnabled( false );
@@ -218,10 +218,10 @@ void KRecPrivate::checkActions(){
if ( !_exportitem || ( _exportitem && !_exportitem->running() ) ) {
if ( !m_recStream->running() && !m_playStream->running() ) {
_impl->actionCollection()->action( "player_record" )->setEnabled( true );
- _impl->actionCollection()->action( "player_play" )->setEnabled( true );
+ _impl->actionCollection()->action( "media-playback-start" )->setEnabled( true );
}
if ( m_playStream->running() || m_recStream->running() )
- _impl->actionCollection()->action( "player_stop" )->setEnabled( true );
+ _impl->actionCollection()->action( "media-playback-stop" )->setEnabled( true );
if ( _currentFile->position() != 0 )
_impl->actionCollection()->action( "player_gobegin" )->setEnabled( true );
if ( _currentFile->position() != _currentFile->size() )
@@ -300,9 +300,9 @@ KRecord::KRecord(TQWidget *parent, const char *name )
d->aRecord = new TDEAction( i18n( "&Record" ), TDEShortcut( Key_R ),
TQT_TQOBJECT(this), TQT_SLOT( startRec() ), actionCollection(), "player_record" );
d->aPlay = new TDEAction( i18n( "&Play" ), TDEShortcut( Key_P ),
- TQT_TQOBJECT(this), TQT_SLOT( startPlay() ), actionCollection(), "player_play" );
+ TQT_TQOBJECT(this), TQT_SLOT( startPlay() ), actionCollection(), "media-playback-start" );
d->aStop = new TDEAction( i18n( "&Stop" ), TDEShortcut( Key_S ),
- TQT_TQOBJECT(this), TQT_SLOT( stopRec() ), actionCollection(), "player_stop" );
+ TQT_TQOBJECT(this), TQT_SLOT( stopRec() ), actionCollection(), "media-playback-stop" );
d->aThru = new TDEToggleAction( i18n( "Play Through" ), TDEShortcut( CTRL + Key_P), actionCollection(), "play_thru" );
connect( d->aThru, TQT_SIGNAL( toggled( bool ) ), d, TQT_SLOT( playthru( bool ) ) );