-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.cpp | 12 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.h | 2 |
2 files changed, 0 insertions, 14 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp index aa85176..43040c2 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp @@ -140,16 +140,8 @@ void MediaPlayerState::setShuffled( bool b ) { shuffled = b; emit shuffledToggled(b); } -void MediaPlayerState::setUsingPlaylist( bool b ) { - if ( usePlaylist == b ) { - return; - } - usePlaylist = b; - emit playlistToggled(b); -} - void MediaPlayerState::setPaused( bool b ) { if ( paused == b ) { paused = FALSE; emit pausedToggled(FALSE); @@ -252,12 +244,8 @@ void MediaPlayerState::toggleLooping() { void MediaPlayerState::toggleShuffled() { setShuffled( !shuffled); } -void MediaPlayerState::togglePlaylist() { - setUsingPlaylist( !usePlaylist); -} - void MediaPlayerState::togglePaused() { setPaused( !paused); } diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h index 163586b..d15894f 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.h +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h @@ -70,9 +70,8 @@ public slots: void setFullscreen( bool b ); void setScaled( bool b ); void setLooping( bool b ); void setShuffled( bool b ); - void setUsingPlaylist( bool b ); void setPaused( bool b ); void setPlaying( bool b ); void setStopped( bool b ); void setPosition( long p ); @@ -91,9 +90,8 @@ public slots: void toggleFullscreen(); void toggleScaled(); void toggleLooping(); void toggleShuffled(); - void togglePlaylist(); void togglePaused(); void togglePlaying(); void toggleBlank(); void writeConfig( Config& cfg ) const; |