summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/mediaplayerstate.h
authorsimon <simon>2002-12-02 13:47:30 (UTC)
committer simon <simon>2002-12-02 13:47:30 (UTC)
commit62f60ab5bb344ec3a5ac6f2486c460a0f11a9f69 (patch) (side-by-side diff)
tree77d75fb5fa33d1dd064d739c64dc55d0b7fb8999 /noncore/multimedia/opieplayer2/mediaplayerstate.h
parent1646c471d8a1f54df65c8d58402bc80af004f498 (diff)
downloadopie-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.h26
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:
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 );