summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayerstate.cpp26
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayerstate.h26
2 files changed, 26 insertions, 26 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
@@ -94,3 +94,3 @@ void MediaPlayerState::writeConfig( Config& cfg ) const {
-bool MediaPlayerState::streaming() {
+bool MediaPlayerState::streaming() const {
return isStreaming;
@@ -98,3 +98,3 @@ bool MediaPlayerState::streaming() {
-bool MediaPlayerState::seekable() {
+bool MediaPlayerState::seekable() const {
return isSeekable;
@@ -102,3 +102,3 @@ bool MediaPlayerState::seekable() {
-bool MediaPlayerState::fullscreen() {
+bool MediaPlayerState::fullscreen() const {
return isFullscreen;
@@ -106,3 +106,3 @@ bool MediaPlayerState::fullscreen() {
-bool MediaPlayerState::scaled() {
+bool MediaPlayerState::scaled() const {
return isScaled;
@@ -110,3 +110,3 @@ bool MediaPlayerState::scaled() {
-bool MediaPlayerState::looping() {
+bool MediaPlayerState::looping() const {
return isLooping;
@@ -114,3 +114,3 @@ bool MediaPlayerState::looping() {
-bool MediaPlayerState::shuffled() {
+bool MediaPlayerState::shuffled() const {
return isShuffled;
@@ -119,3 +119,3 @@ bool MediaPlayerState::shuffled() {
-bool MediaPlayerState::playlist() {
+bool MediaPlayerState::playlist() const {
return usePlaylist;
@@ -123,3 +123,3 @@ bool MediaPlayerState::playlist() {
-bool MediaPlayerState::paused() {
+bool MediaPlayerState::paused() const {
return isPaused;
@@ -127,3 +127,3 @@ bool MediaPlayerState::paused() {
-bool MediaPlayerState::playing() {
+bool MediaPlayerState::playing() const {
return isPlaying;
@@ -131,3 +131,3 @@ bool MediaPlayerState::playing() {
-bool MediaPlayerState::stop() {
+bool MediaPlayerState::stop() const {
return isStoped;
@@ -135,3 +135,3 @@ bool MediaPlayerState::stop() {
-long MediaPlayerState::position() {
+long MediaPlayerState::position() const {
return curPosition;
@@ -139,3 +139,3 @@ long MediaPlayerState::position() {
-long MediaPlayerState::length() {
+long MediaPlayerState::length() const {
return curLength;
@@ -143,3 +143,3 @@ long MediaPlayerState::length() {
-char MediaPlayerState::view() {
+char MediaPlayerState::view() const {
return curView;
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h
index 154e3b0..f9c1eeb 100644
--- a/noncore/multimedia/opieplayer2/mediaplayerstate.h
+++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h
@@ -52,15 +52,15 @@ public:
- bool streaming();
- bool seekable();
- bool fullscreen();
- bool scaled();
- bool looping();
- bool shuffled();
- bool playlist();
- bool paused();
- bool playing();
- bool stop();
- long position();
- long length();
- char view();
+ bool streaming() const;
+ bool seekable() const;
+ bool fullscreen() const;
+ bool scaled() const;
+ bool looping() const;
+ bool shuffled() const;
+ bool playlist() const;
+ bool paused() const;
+ bool playing() const;
+ bool stop() const;
+ long position() const;
+ long length() const;
+ char view() const;