author | harlekin <harlekin> | 2002-07-09 01:02:37 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-09 01:02:37 (UTC) |
commit | 577841e20b5657411194d74a143b0319fc05cda3 (patch) (side-by-side diff) | |
tree | 0e41da19fff8e2f47d43612a96d503b49b6a6a0b /noncore/multimedia/opieplayer2/mediaplayerstate.h | |
parent | 56554891922367c5d4e7d0f6965daa1026c0cc54 (diff) | |
download | opie-577841e20b5657411194d74a143b0319fc05cda3.zip opie-577841e20b5657411194d74a143b0319fc05cda3.tar.gz opie-577841e20b5657411194d74a143b0319fc05cda3.tar.bz2 |
more gui updates
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayerstate.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h index dbbb0f2..20e3552 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.h +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h @@ -16,7 +16,7 @@ public: MediaPlayerState( QObject *parent, const char *name ); ~MediaPlayerState(); - bool isStreaming; + bool streaming(); bool fullscreen(); bool scaled(); bool looping(); @@ -24,11 +24,13 @@ public: bool playlist(); bool paused(); bool playing(); + bool stop(); long position(); long length(); char view(); public slots: + void setIsStreaming( bool b ); void setFullscreen( bool b ); void setScaled( bool b ); void setLooping( bool b ); @@ -36,6 +38,7 @@ public slots: void setPlaylist( bool b ); void setPaused( bool b ); void setPlaying( bool b ); + void setStop( bool b ); void setPosition( long p ); void updatePosition( long p ); void setLength( long l ); @@ -63,6 +66,7 @@ signals: void playlistToggled( bool ); void pausedToggled( bool ); void playingToggled( bool ); + void stopToggled( bool ); void positionChanged( long ); // When the slider is moved void positionUpdated( long ); // When the media file progresses void lengthChanged( long ); @@ -72,6 +76,7 @@ signals: void next(); private: + bool isStreaming; bool isFullscreen; bool isScaled; bool isLooping; @@ -79,6 +84,7 @@ private: bool usePlaylist; bool isPaused; bool isPlaying; + bool isStoped; long curPosition; long curLength; char curView; |