summaryrefslogtreecommitdiffstats
path: root/krec
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-13 20:10:11 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-13 20:10:11 -0500
commitff04cdc4c00513986154504bb6efc1ea765063d4 (patch)
tree90318ddb9338b8f9aa25c137360e30eb13423ec8 /krec
parent88d0e2289d8cf1742ff4e50485b06eda96946c9c (diff)
downloadtdemultimedia-ff04cdc4c00513986154504bb6efc1ea765063d4.tar.gz
tdemultimedia-ff04cdc4c00513986154504bb6efc1ea765063d4.zip
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
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 ) ) );