summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -138,20 +138,12 @@ void MediaPlayerState::setShuffled( bool b ) {
return;
}
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);
return;
}
@@ -250,16 +242,12 @@ void MediaPlayerState::toggleLooping() {
}
void MediaPlayerState::toggleShuffled() {
setShuffled( !shuffled);
}
-void MediaPlayerState::togglePlaylist() {
- setUsingPlaylist( !usePlaylist);
-}
-
void MediaPlayerState::togglePaused() {
setPaused( !paused);
}
void MediaPlayerState::togglePlaying() {
setPlaying( !playing);
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
@@ -68,13 +68,12 @@ public slots:
void setIsStreaming( bool b );
void setIsSeekable( bool b );
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 );
void updatePosition( long p );
void setLength( long l );
@@ -89,13 +88,12 @@ public slots:
void setAudio();
void toggleFullscreen();
void toggleScaled();
void toggleLooping();
void toggleShuffled();
- void togglePlaylist();
void togglePaused();
void togglePlaying();
void toggleBlank();
void writeConfig( Config& cfg ) const;