author | simon <simon> | 2002-12-02 13:46:23 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 13:46:23 (UTC) |
commit | b992707037f3bbf4573c52b34b3d25cbbf07bad0 (patch) (side-by-side diff) | |
tree | b5a5866cda4b3e059001e3159cdae374777d4a72 /noncore/multimedia/opieplayer2/mediaplayerstate.cpp | |
parent | 6e883bf60ea91cc6b0624c7307edc27ea3db291b (diff) | |
download | opie-b992707037f3bbf4573c52b34b3d25cbbf07bad0.zip opie-b992707037f3bbf4573c52b34b3d25cbbf07bad0.tar.gz opie-b992707037f3bbf4573c52b34b3d25cbbf07bad0.tar.bz2 |
- made the accessor functions constant
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayerstate.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp index 0b33dfd..a80d8fd 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp @@ -91,58 +91,58 @@ void MediaPlayerState::writeConfig( Config& cfg ) const { // public stuff -bool MediaPlayerState::streaming() { +bool MediaPlayerState::streaming() const { return isStreaming; } -bool MediaPlayerState::seekable() { +bool MediaPlayerState::seekable() const { return isSeekable; } -bool MediaPlayerState::fullscreen() { +bool MediaPlayerState::fullscreen() const { return isFullscreen; } -bool MediaPlayerState::scaled() { +bool MediaPlayerState::scaled() const { return isScaled; } -bool MediaPlayerState::looping() { +bool MediaPlayerState::looping() const { return isLooping; } -bool MediaPlayerState::shuffled() { +bool MediaPlayerState::shuffled() const { return isShuffled; } -bool MediaPlayerState::playlist() { +bool MediaPlayerState::playlist() const { return usePlaylist; } -bool MediaPlayerState::paused() { +bool MediaPlayerState::paused() const { return isPaused; } -bool MediaPlayerState::playing() { +bool MediaPlayerState::playing() const { return isPlaying; } -bool MediaPlayerState::stop() { +bool MediaPlayerState::stop() const { return isStoped; } -long MediaPlayerState::position() { +long MediaPlayerState::position() const { return curPosition; } -long MediaPlayerState::length() { +long MediaPlayerState::length() const { return curLength; } -char MediaPlayerState::view() { +char MediaPlayerState::view() const { return curView; } // slots |