From 58ae980e181b89143760b3893b0f8267cb4489d9 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 02 Dec 2002 13:47:48 +0000 Subject: - stoped -> stopped --- (limited to 'noncore/multimedia/opieplayer2') 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 @@ -172,15 +172,15 @@ void MediaPlayerState::setPlaying( bool b ) { return; } playing = b; - stoped = !b; + stopped = !b; emit playingToggled(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 @@ -59,7 +59,7 @@ public: bool isUsingPlaylist() const { return usePlaylist; } bool isPaused() const { return paused; } bool isPlaying() const { return playing; } - bool isStop() const { return stoped; } + bool isStopped() const { return stopped; } long position() const { return curPosition; } long length() const { return curLength; } char view() const { return curView; } @@ -74,7 +74,7 @@ public slots: void setPlaylist( bool b ); void setPaused( bool b ); void setPlaying( bool b ); - void setStop( bool b ); + void setStopped( bool b ); void setPosition( long p ); void updatePosition( long p ); void setLength( long l ); @@ -129,7 +129,7 @@ private: bool usePlaylist; bool paused; bool playing; - bool stoped; + bool stopped; long curPosition; long curLength; char curView; -- cgit v0.9.0.2