author | simon <simon> | 2002-12-02 13:47:48 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 13:47:48 (UTC) |
commit | 58ae980e181b89143760b3893b0f8267cb4489d9 (patch) (unidiff) | |
tree | 6b8f977ec292dd53b871ad1c50aa74d5a6b9dc42 | |
parent | 62f60ab5bb344ec3a5ac6f2486c460a0f11a9f69 (diff) | |
download | opie-58ae980e181b89143760b3893b0f8267cb4489d9.zip opie-58ae980e181b89143760b3893b0f8267cb4489d9.tar.gz opie-58ae980e181b89143760b3893b0f8267cb4489d9.tar.bz2 |
- stoped -> stopped
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.cpp | 8 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp index 0d21027..4f43465 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp | |||
@@ -167,25 +167,25 @@ void MediaPlayerState::setPaused( bool b ) { | |||
167 | emit pausedToggled(b); | 167 | emit pausedToggled(b); |
168 | } | 168 | } |
169 | 169 | ||
170 | void MediaPlayerState::setPlaying( bool b ) { | 170 | void MediaPlayerState::setPlaying( bool b ) { |
171 | if ( playing == b ) { | 171 | if ( playing == b ) { |
172 | return; | 172 | return; |
173 | } | 173 | } |
174 | playing = b; | 174 | playing = b; |
175 | stoped = !b; | 175 | stopped = !b; |
176 | emit playingToggled(b); | 176 | emit playingToggled(b); |
177 | } | 177 | } |
178 | 178 | ||
179 | void MediaPlayerState::setStop( bool b ) { | 179 | void MediaPlayerState::setStopped( bool b ) { |
180 | if ( stoped == b ) { | 180 | if ( stopped == b ) { |
181 | return; | 181 | return; |
182 | } | 182 | } |
183 | stoped = b; | 183 | stopped = b; |
184 | emit stopToggled(b); | 184 | emit stopToggled(b); |
185 | } | 185 | } |
186 | 186 | ||
187 | void MediaPlayerState::setPosition( long p ) { | 187 | void MediaPlayerState::setPosition( long p ) { |
188 | if ( curPosition == p ) { | 188 | if ( curPosition == p ) { |
189 | return; | 189 | return; |
190 | } | 190 | } |
191 | curPosition = p; | 191 | curPosition = p; |
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h index 57189dd..04d0445 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.h +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h | |||
@@ -54,32 +54,32 @@ public: | |||
54 | bool isSeekable() const { return seekable; } | 54 | bool isSeekable() const { return seekable; } |
55 | bool isFullscreen() const { return fullscreen; } | 55 | bool isFullscreen() const { return fullscreen; } |
56 | bool isScaled() const { return scaled; } | 56 | bool isScaled() const { return scaled; } |
57 | bool isLooping() const { return looping; } | 57 | bool isLooping() const { return looping; } |
58 | bool isShuffled() const { return shuffled; } | 58 | bool isShuffled() const { return shuffled; } |
59 | bool isUsingPlaylist() const { return usePlaylist; } | 59 | bool isUsingPlaylist() const { return usePlaylist; } |
60 | bool isPaused() const { return paused; } | 60 | bool isPaused() const { return paused; } |
61 | bool isPlaying() const { return playing; } | 61 | bool isPlaying() const { return playing; } |
62 | bool isStop() const { return stoped; } | 62 | bool isStopped() const { return stopped; } |
63 | long position() const { return curPosition; } | 63 | long position() const { return curPosition; } |
64 | long length() const { return curLength; } | 64 | long length() const { return curLength; } |
65 | char view() const { return curView; } | 65 | char view() const { return curView; } |
66 | 66 | ||
67 | public slots: | 67 | public slots: |
68 | void setIsStreaming( bool b ); | 68 | void setIsStreaming( bool b ); |
69 | void setIsSeekable( bool b ); | 69 | void setIsSeekable( bool b ); |
70 | void setFullscreen( bool b ); | 70 | void setFullscreen( bool b ); |
71 | void setScaled( bool b ); | 71 | void setScaled( bool b ); |
72 | void setLooping( bool b ); | 72 | void setLooping( bool b ); |
73 | void setShuffled( bool b ); | 73 | void setShuffled( bool b ); |
74 | void setPlaylist( bool b ); | 74 | void setPlaylist( bool b ); |
75 | void setPaused( bool b ); | 75 | void setPaused( bool b ); |
76 | void setPlaying( bool b ); | 76 | void setPlaying( bool b ); |
77 | void setStop( bool b ); | 77 | void setStopped( bool b ); |
78 | void setPosition( long p ); | 78 | void setPosition( long p ); |
79 | void updatePosition( long p ); | 79 | void updatePosition( long p ); |
80 | void setLength( long l ); | 80 | void setLength( long l ); |
81 | void setView( char v ); | 81 | void setView( char v ); |
82 | void setBlanked( bool b ); | 82 | void setBlanked( bool b ); |
83 | void setVideoGamma( int v ); | 83 | void setVideoGamma( int v ); |
84 | 84 | ||
85 | void setPrev(); | 85 | void setPrev(); |
@@ -124,17 +124,17 @@ private: | |||
124 | bool fullscreen; | 124 | bool fullscreen; |
125 | bool scaled; | 125 | bool scaled; |
126 | bool blanked; | 126 | bool blanked; |
127 | bool looping; | 127 | bool looping; |
128 | bool shuffled; | 128 | bool shuffled; |
129 | bool usePlaylist; | 129 | bool usePlaylist; |
130 | bool paused; | 130 | bool paused; |
131 | bool playing; | 131 | bool playing; |
132 | bool stoped; | 132 | bool stopped; |
133 | long curPosition; | 133 | long curPosition; |
134 | long curLength; | 134 | long curLength; |
135 | char curView; | 135 | char curView; |
136 | int videoGamma; | 136 | int videoGamma; |
137 | void readConfig( Config& cfg ); | 137 | void readConfig( Config& cfg ); |
138 | 138 | ||
139 | }; | 139 | }; |
140 | 140 | ||