author | simon <simon> | 2002-12-02 13:47:30 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 13:47:30 (UTC) |
commit | 62f60ab5bb344ec3a5ac6f2486c460a0f11a9f69 (patch) (unidiff) | |
tree | 77d75fb5fa33d1dd064d739c64dc55d0b7fb8999 /noncore/multimedia/opieplayer2/mediaplayerstate.h | |
parent | 1646c471d8a1f54df65c8d58402bc80af004f498 (diff) | |
download | opie-62f60ab5bb344ec3a5ac6f2486c460a0f11a9f69.zip opie-62f60ab5bb344ec3a5ac6f2486c460a0f11a9f69.tar.gz opie-62f60ab5bb344ec3a5ac6f2486c460a0f11a9f69.tar.bz2 |
- made the accessor functions inline
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayerstate.h') (more/less context) (ignore 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 | |||
@@ -50,19 +50,19 @@ public: | |||
50 | MediaPlayerState( QObject *parent, const char *name ); | 50 | MediaPlayerState( QObject *parent, const char *name ); |
51 | ~MediaPlayerState(); | 51 | ~MediaPlayerState(); |
52 | 52 | ||
53 | bool isStreaming() const; | 53 | bool isStreaming() const { return streaming; } |
54 | bool isSeekable() const; | 54 | bool isSeekable() const { return seekable; } |
55 | bool isFullscreen() const; | 55 | bool isFullscreen() const { return fullscreen; } |
56 | bool isScaled() const; | 56 | bool isScaled() const { return scaled; } |
57 | bool isLooping() const; | 57 | bool isLooping() const { return looping; } |
58 | bool isShuffled() const; | 58 | bool isShuffled() const { return shuffled; } |
59 | bool isUsingPlaylist() const; | 59 | bool isUsingPlaylist() const { return usePlaylist; } |
60 | bool isPaused() const; | 60 | bool isPaused() const { return paused; } |
61 | bool isPlaying() const; | 61 | bool isPlaying() const { return playing; } |
62 | bool isStop() const; | 62 | bool isStop() const { return stoped; } |
63 | long position() const; | 63 | long position() const { return curPosition; } |
64 | long length() const; | 64 | long length() const { return curLength; } |
65 | char view() const; | 65 | char view() const { return curView; } |
66 | 66 | ||
67 | public slots: | 67 | public slots: |
68 | void setIsStreaming( bool b ); | 68 | void setIsStreaming( bool b ); |