author | simon <simon> | 2002-12-02 17:16:48 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 17:16:48 (UTC) |
commit | a79674bdbba0093f4bba78f47905b67fd2f32a8f (patch) (side-by-side diff) | |
tree | 630e5a776b285d292fdecea64ff46f2e10874d90 | |
parent | e2e40368d1e98cfd3814e14a56c0e503d494cf4f (diff) | |
download | opie-a79674bdbba0093f4bba78f47905b67fd2f32a8f.zip opie-a79674bdbba0093f4bba78f47905b67fd2f32a8f.tar.gz opie-a79674bdbba0093f4bba78f47905b67fd2f32a8f.tar.bz2 |
- setUsingPlaylist and togglePlaylist is never called. removed.
-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; |