summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore 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
@@ -92,56 +92,56 @@ void MediaPlayerState::writeConfig( Config& cfg ) const {
92// public stuff 92// public stuff
93 93
94 94
95bool MediaPlayerState::streaming() { 95bool MediaPlayerState::streaming() const {
96 return isStreaming; 96 return isStreaming;
97} 97}
98 98
99bool MediaPlayerState::seekable() { 99bool MediaPlayerState::seekable() const {
100 return isSeekable; 100 return isSeekable;
101} 101}
102 102
103bool MediaPlayerState::fullscreen() { 103bool MediaPlayerState::fullscreen() const {
104 return isFullscreen; 104 return isFullscreen;
105} 105}
106 106
107bool MediaPlayerState::scaled() { 107bool MediaPlayerState::scaled() const {
108 return isScaled; 108 return isScaled;
109} 109}
110 110
111bool MediaPlayerState::looping() { 111bool MediaPlayerState::looping() const {
112 return isLooping; 112 return isLooping;
113} 113}
114 114
115bool MediaPlayerState::shuffled() { 115bool MediaPlayerState::shuffled() const {
116 return isShuffled; 116 return isShuffled;
117} 117}
118 118
119 119
120bool MediaPlayerState::playlist() { 120bool MediaPlayerState::playlist() const {
121 return usePlaylist; 121 return usePlaylist;
122} 122}
123 123
124bool MediaPlayerState::paused() { 124bool MediaPlayerState::paused() const {
125 return isPaused; 125 return isPaused;
126} 126}
127 127
128bool MediaPlayerState::playing() { 128bool MediaPlayerState::playing() const {
129 return isPlaying; 129 return isPlaying;
130} 130}
131 131
132bool MediaPlayerState::stop() { 132bool MediaPlayerState::stop() const {
133 return isStoped; 133 return isStoped;
134} 134}
135 135
136long MediaPlayerState::position() { 136long MediaPlayerState::position() const {
137 return curPosition; 137 return curPosition;
138} 138}
139 139
140long MediaPlayerState::length() { 140long MediaPlayerState::length() const {
141 return curLength; 141 return curLength;
142} 142}
143 143
144char MediaPlayerState::view() { 144char MediaPlayerState::view() const {
145 return curView; 145 return curView;
146} 146}
147 147
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
@@ -50,19 +50,19 @@ public:
50 MediaPlayerState( QObject *parent, const char *name ); 50 MediaPlayerState( QObject *parent, const char *name );
51 ~MediaPlayerState(); 51 ~MediaPlayerState();
52 52
53 bool streaming(); 53 bool streaming() const;
54 bool seekable(); 54 bool seekable() const;
55 bool fullscreen(); 55 bool fullscreen() const;
56 bool scaled(); 56 bool scaled() const;
57 bool looping(); 57 bool looping() const;
58 bool shuffled(); 58 bool shuffled() const;
59 bool playlist(); 59 bool playlist() const;
60 bool paused(); 60 bool paused() const;
61 bool playing(); 61 bool playing() const;
62 bool stop(); 62 bool stop() const;
63 long position(); 63 long position() const;
64 long length(); 64 long length() const;
65 char view(); 65 char view() const;
66 66
67public slots: 67public slots:
68 void setIsStreaming( bool b ); 68 void setIsStreaming( bool b );