Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayerstate.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h index 4e837e3..57189dd 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.h +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h @@ -41,37 +41,37 @@ class MediaPlayerDecoder; class Config; class MediaPlayerState : public QObject { Q_OBJECT public: MediaPlayerState( QObject *parent, const char *name ); ~MediaPlayerState(); - bool isStreaming() const; - bool isSeekable() const; - bool isFullscreen() const; - bool isScaled() const; - bool isLooping() const; - bool isShuffled() const; - bool isUsingPlaylist() const; - bool isPaused() const; - bool isPlaying() const; - bool isStop() const; - long position() const; - long length() const; - char view() const; + bool isStreaming() const { return streaming; } + bool isSeekable() const { return seekable; } + bool isFullscreen() const { return fullscreen; } + bool isScaled() const { return scaled; } + bool isLooping() const { return looping; } + bool isShuffled() const { return shuffled; } + bool isUsingPlaylist() const { return usePlaylist; } + bool isPaused() const { return paused; } + bool isPlaying() const { return playing; } + bool isStop() const { return stoped; } + long position() const { return curPosition; } + long length() const { return curLength; } + char view() const { return curView; } public slots: void setIsStreaming( bool b ); void setIsSeekable( bool b ); void setFullscreen( bool b ); void setScaled( bool b ); void setLooping( bool b ); void setShuffled( bool b ); void setPlaylist( bool b ); void setPaused( bool b ); void setPlaying( bool b ); void setStop( bool b ); |