-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 | |||
@@ -174,3 +174,3 @@ void MediaPlayerState::setPlaying( bool b ) { | |||
174 | playing = b; | 174 | playing = b; |
175 | stoped = !b; | 175 | stopped = !b; |
176 | emit playingToggled(b); | 176 | emit playingToggled(b); |
@@ -178,7 +178,7 @@ void MediaPlayerState::setPlaying( bool b ) { | |||
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); |
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 | |||
@@ -61,3 +61,3 @@ public: | |||
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; } |
@@ -76,3 +76,3 @@ public slots: | |||
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 ); |
@@ -131,3 +131,3 @@ private: | |||
131 | bool playing; | 131 | bool playing; |
132 | bool stoped; | 132 | bool stopped; |
133 | long curPosition; | 133 | long curPosition; |