Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayerstate.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h index 8c4e09e..154e3b0 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.h +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h | |||
@@ -41,27 +41,24 @@ | |||
41 | 41 | ||
42 | 42 | ||
43 | class MediaPlayerDecoder; | 43 | class MediaPlayerDecoder; |
44 | class Config; | 44 | class Config; |
45 | 45 | ||
46 | 46 | ||
47 | class MediaPlayerState : public QObject { | 47 | class MediaPlayerState : public QObject { |
48 | Q_OBJECT | 48 | Q_OBJECT |
49 | public: | 49 | public: |
50 | MediaPlayerState( QObject *parent, const char *name ); | 50 | MediaPlayerState( QObject *parent, const char *name ); |
51 | ~MediaPlayerState(); | 51 | ~MediaPlayerState(); |
52 | 52 | ||
53 | bool isPaused; | ||
54 | bool isPlaying; | ||
55 | bool isStoped; | ||
56 | bool streaming(); | 53 | bool streaming(); |
57 | bool seekable(); | 54 | bool seekable(); |
58 | bool fullscreen(); | 55 | bool fullscreen(); |
59 | bool scaled(); | 56 | bool scaled(); |
60 | bool looping(); | 57 | bool looping(); |
61 | bool shuffled(); | 58 | bool shuffled(); |
62 | bool playlist(); | 59 | bool playlist(); |
63 | bool paused(); | 60 | bool paused(); |
64 | bool playing(); | 61 | bool playing(); |
65 | bool stop(); | 62 | bool stop(); |
66 | long position(); | 63 | long position(); |
67 | long length(); | 64 | long length(); |
@@ -121,23 +118,26 @@ signals: | |||
121 | void prev(); | 118 | void prev(); |
122 | void next(); | 119 | void next(); |
123 | 120 | ||
124 | private: | 121 | private: |
125 | bool isStreaming; | 122 | bool isStreaming; |
126 | bool isSeekable; | 123 | bool isSeekable; |
127 | bool isFullscreen; | 124 | bool isFullscreen; |
128 | bool isScaled; | 125 | bool isScaled; |
129 | bool isBlanked; | 126 | bool isBlanked; |
130 | bool isLooping; | 127 | bool isLooping; |
131 | bool isShuffled; | 128 | bool isShuffled; |
132 | bool usePlaylist; | 129 | bool usePlaylist; |
130 | bool isPaused; | ||
131 | bool isPlaying; | ||
132 | bool isStoped; | ||
133 | long curPosition; | 133 | long curPosition; |
134 | long curLength; | 134 | long curLength; |
135 | char curView; | 135 | char curView; |
136 | int videoGamma; | 136 | int videoGamma; |
137 | void readConfig( Config& cfg ); | 137 | void readConfig( Config& cfg ); |
138 | 138 | ||
139 | }; | 139 | }; |
140 | 140 | ||
141 | 141 | ||
142 | #endif // MEDIA_PLAYER_STATE_H | 142 | #endif // MEDIA_PLAYER_STATE_H |
143 | 143 | ||