author | simon <simon> | 2002-12-02 17:16:48 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 17:16:48 (UTC) |
commit | a79674bdbba0093f4bba78f47905b67fd2f32a8f (patch) (unidiff) | |
tree | 630e5a776b285d292fdecea64ff46f2e10874d90 /noncore/multimedia/opieplayer2 | |
parent | e2e40368d1e98cfd3814e14a56c0e503d494cf4f (diff) | |
download | opie-a79674bdbba0093f4bba78f47905b67fd2f32a8f.zip opie-a79674bdbba0093f4bba78f47905b67fd2f32a8f.tar.gz opie-a79674bdbba0093f4bba78f47905b67fd2f32a8f.tar.bz2 |
- setUsingPlaylist and togglePlaylist is never called. removed.
Diffstat (limited to 'noncore/multimedia/opieplayer2') (more/less context) (show whitespace changes)
-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 | |||
@@ -141,14 +141,6 @@ void MediaPlayerState::setShuffled( bool b ) { | |||
141 | emit shuffledToggled(b); | 141 | emit shuffledToggled(b); |
142 | } | 142 | } |
143 | 143 | ||
144 | void MediaPlayerState::setUsingPlaylist( bool b ) { | ||
145 | if ( usePlaylist == b ) { | ||
146 | return; | ||
147 | } | ||
148 | usePlaylist = b; | ||
149 | emit playlistToggled(b); | ||
150 | } | ||
151 | |||
152 | void MediaPlayerState::setPaused( bool b ) { | 144 | void MediaPlayerState::setPaused( bool b ) { |
153 | if ( paused == b ) { | 145 | if ( paused == b ) { |
154 | paused = FALSE; | 146 | paused = FALSE; |
@@ -253,10 +245,6 @@ void MediaPlayerState::toggleShuffled() { | |||
253 | setShuffled( !shuffled); | 245 | setShuffled( !shuffled); |
254 | } | 246 | } |
255 | 247 | ||
256 | void MediaPlayerState::togglePlaylist() { | ||
257 | setUsingPlaylist( !usePlaylist); | ||
258 | } | ||
259 | |||
260 | void MediaPlayerState::togglePaused() { | 248 | void MediaPlayerState::togglePaused() { |
261 | setPaused( !paused); | 249 | setPaused( !paused); |
262 | } | 250 | } |
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 | |||
@@ -71,7 +71,6 @@ public slots: | |||
71 | void setScaled( bool b ); | 71 | void setScaled( bool b ); |
72 | void setLooping( bool b ); | 72 | void setLooping( bool b ); |
73 | void setShuffled( bool b ); | 73 | void setShuffled( bool b ); |
74 | void setUsingPlaylist( bool b ); | ||
75 | void setPaused( bool b ); | 74 | void setPaused( bool b ); |
76 | void setPlaying( bool b ); | 75 | void setPlaying( bool b ); |
77 | void setStopped( bool b ); | 76 | void setStopped( bool b ); |
@@ -92,7 +91,6 @@ public slots: | |||
92 | void toggleScaled(); | 91 | void toggleScaled(); |
93 | void toggleLooping(); | 92 | void toggleLooping(); |
94 | void toggleShuffled(); | 93 | void toggleShuffled(); |
95 | void togglePlaylist(); | ||
96 | void togglePaused(); | 94 | void togglePaused(); |
97 | void togglePlaying(); | 95 | void togglePlaying(); |
98 | void toggleBlank(); | 96 | void toggleBlank(); |