author | simon <simon> | 2002-12-02 13:48:29 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 13:48:29 (UTC) |
commit | cc1324d2def09e55e5a688fa3e2d33924f7f5ef9 (patch) (side-by-side diff) | |
tree | cddeae453702467694520720ca56e93c15092465 | |
parent | 4a942c5d074cef8a04870cee1ab053f72321fd20 (diff) | |
download | opie-cc1324d2def09e55e5a688fa3e2d33924f7f5ef9.zip opie-cc1324d2def09e55e5a688fa3e2d33924f7f5ef9.tar.gz opie-cc1324d2def09e55e5a688fa3e2d33924f7f5ef9.tar.bz2 |
- setPlaylist -> setUsingPlaylist
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.cpp | 4 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp index 5e5dfb2..aa85176 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp @@ -128,33 +128,33 @@ void MediaPlayerState::setScaled( bool b ) { void MediaPlayerState::setLooping( bool b ) { if ( looping == b ) { return; } looping = b; emit loopingToggled(b); } void MediaPlayerState::setShuffled( bool b ) { if ( shuffled == b ) { return; } shuffled = b; emit shuffledToggled(b); } -void MediaPlayerState::setPlaylist( bool 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; } paused = b; emit pausedToggled(b); } @@ -241,33 +241,33 @@ void MediaPlayerState::toggleFullscreen() { setFullscreen( !fullscreen ); } void MediaPlayerState::toggleScaled() { setScaled( !scaled); } void MediaPlayerState::toggleLooping() { setLooping( !looping); } void MediaPlayerState::toggleShuffled() { setShuffled( !shuffled); } void MediaPlayerState::togglePlaylist() { - setPlaylist( !usePlaylist); + setUsingPlaylist( !usePlaylist); } void MediaPlayerState::togglePaused() { setPaused( !paused); } void MediaPlayerState::togglePlaying() { setPlaying( !playing); } void MediaPlayerState::toggleBlank() { setBlanked( !blanked); } diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h index 04d0445..b99178d 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.h +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h @@ -58,33 +58,33 @@ public: bool isShuffled() const { return shuffled; } bool isUsingPlaylist() const { return usePlaylist; } bool isPaused() const { return paused; } bool isPlaying() const { return playing; } bool isStopped() const { return stopped; } long position() const { return curPosition; } long length() const { return curLength; } char view() const { return curView; } 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 setPlaylist( 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 ); void setView( char v ); void setBlanked( bool b ); void setVideoGamma( int v ); void setPrev(); void setNext(); void setList(); void setVideo(); void setAudio(); |