From 62f60ab5bb344ec3a5ac6f2486c460a0f11a9f69 Mon Sep 17 00:00:00 2001
From: simon <simon>
Date: Mon, 02 Dec 2002 13:47:30 +0000
Subject: - made the accessor functions inline

---
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp
index 85d9bac..0d21027 100644
--- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp
+++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp
@@ -88,63 +88,6 @@ void MediaPlayerState::writeConfig( Config& cfg ) const {
     cfg.writeEntry( "VideoGamma",  videoGamma );
 }
 
-
-// public stuff
-
-
-bool MediaPlayerState::isStreaming() const {
-    return streaming;
-}
-
-bool MediaPlayerState::isSeekable() const {
-    return seekable;
-}
-
-bool MediaPlayerState::isFullscreen() const {
-    return fullscreen;
-}
-
-bool MediaPlayerState::isScaled() const {
-    return scaled;
-}
-
-bool MediaPlayerState::isLooping() const {
-    return looping;
-}
-
-bool MediaPlayerState::isShuffled() const {
-    return shuffled;
-}
-
-
-bool MediaPlayerState::isUsingPlaylist() const {
-    return usePlaylist;
-}
-
-bool MediaPlayerState::isPaused() const {
-    return paused;
-}
-
-bool MediaPlayerState::isPlaying() const {
-    return playing;
-}
-
-bool MediaPlayerState::isStop() const {
-    return stoped;
-}
-
-long MediaPlayerState::position() const {
-    return curPosition;
-}
-
-long MediaPlayerState::length() const {
-    return curLength;
-}
-
-char MediaPlayerState::view() const {
-    return curView;
-}
-
 // slots
 void MediaPlayerState::setIsStreaming( bool b ) {
 
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 );
--
cgit v0.9.0.2