From ff04cdc4c00513986154504bb6efc1ea765063d4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 20:10:11 -0500 Subject: Bring mail_forward, mail_new, mail_replyall, mail_reply, mail_send, player_pause, player_play, player_stop, player_rew, player_fwd, player_start, player_end, rotate_ccw, rotate_cw, window_fullscreen, window_nofullscreen, window_new, viewmagfit, viewmag+, viewmag1, and viewmag- icons into XDG compliance --- krec/krecord.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'krec') 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 ) ) ); -- cgit v1.2.1