summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayerstate.cpp8
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayerstate.h6
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 ) {
playing = b;
- stoped = !b;
+ stopped = !b;
emit playingToggled(b);
@@ -178,7 +178,7 @@ void MediaPlayerState::setPlaying( bool b ) {
-void MediaPlayerState::setStop( bool b ) {
- if ( stoped == b ) {
+void MediaPlayerState::setStopped( bool b ) {
+ if ( stopped == b ) {
return;
}
- stoped = b;
+ stopped = b;
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:
bool isPlaying() const { return playing; }
- bool isStop() const { return stoped; }
+ bool isStopped() const { return stopped; }
long position() const { return curPosition; }
@@ -76,3 +76,3 @@ public slots:
void setPlaying( bool b );
- void setStop( bool b );
+ void setStopped( bool b );
void setPosition( long p );
@@ -131,3 +131,3 @@ private:
bool playing;
- bool stoped;
+ bool stopped;
long curPosition;