summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-02 17:16:48 (UTC)
committer simon <simon>2002-12-02 17:16:48 (UTC)
commita79674bdbba0093f4bba78f47905b67fd2f32a8f (patch) (unidiff)
tree630e5a776b285d292fdecea64ff46f2e10874d90
parente2e40368d1e98cfd3814e14a56c0e503d494cf4f (diff)
downloadopie-a79674bdbba0093f4bba78f47905b67fd2f32a8f.zip
opie-a79674bdbba0093f4bba78f47905b67fd2f32a8f.tar.gz
opie-a79674bdbba0093f4bba78f47905b67fd2f32a8f.tar.bz2
- setUsingPlaylist and togglePlaylist is never called. removed.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayerstate.cpp12
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayerstate.h2
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
@@ -142,12 +142,4 @@ void MediaPlayerState::setShuffled( bool b ) {
142} 142}
143 143
144void MediaPlayerState::setUsingPlaylist( bool b ) {
145 if ( usePlaylist == b ) {
146 return;
147 }
148 usePlaylist = b;
149 emit playlistToggled(b);
150}
151
152void MediaPlayerState::setPaused( bool b ) { 144void MediaPlayerState::setPaused( bool b ) {
153 if ( paused == b ) { 145 if ( paused == b ) {
@@ -254,8 +246,4 @@ void MediaPlayerState::toggleShuffled() {
254} 246}
255 247
256void MediaPlayerState::togglePlaylist() {
257 setUsingPlaylist( !usePlaylist);
258}
259
260void MediaPlayerState::togglePaused() { 248void MediaPlayerState::togglePaused() {
261 setPaused( !paused); 249 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
@@ -72,5 +72,4 @@ public slots:
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 );
@@ -93,5 +92,4 @@ public slots:
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();