summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/mediaplayerstate.cpp
authorllornkcor <llornkcor>2002-08-03 14:19:05 (UTC)
committer llornkcor <llornkcor>2002-08-03 14:19:05 (UTC)
commitaa06a62511cabebeaad1d3dda34b30640f967dea (patch) (unidiff)
treea6887240b094f46de46b743135a2e918ba3254ad /noncore/multimedia/opieplayer2/mediaplayerstate.cpp
parentd3c13036415713932f1706e46fa7c99ef38188df (diff)
downloadopie-aa06a62511cabebeaad1d3dda34b30640f967dea.zip
opie-aa06a62511cabebeaad1d3dda34b30640f967dea.tar.gz
opie-aa06a62511cabebeaad1d3dda34b30640f967dea.tar.bz2
audiowidget now shows time and slider moves.
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayerstate.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayerstate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp
index 778cd1e..135c67c 100644
--- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp
+++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp
@@ -96,32 +96,33 @@ bool MediaPlayerState::stop() {
96} 96}
97 97
98long MediaPlayerState::position() { 98long MediaPlayerState::position() {
99 return curPosition; 99 return curPosition;
100} 100}
101 101
102long MediaPlayerState::length() { 102long MediaPlayerState::length() {
103 return curLength; 103 return curLength;
104} 104}
105 105
106char MediaPlayerState::view() { 106char MediaPlayerState::view() {
107 return curView; 107 return curView;
108} 108}
109 109
110// slots 110// slots
111void MediaPlayerState::setIsStreaming( bool b ) { 111void MediaPlayerState::setIsStreaming( bool b ) {
112
112 if ( isStreaming == b ) { 113 if ( isStreaming == b ) {
113 return; 114 return;
114 } 115 }
115 isStreaming = b; 116 isStreaming = b;
116} 117}
117 118
118 119
119void MediaPlayerState::setFullscreen( bool b ) { 120void MediaPlayerState::setFullscreen( bool b ) {
120 if ( isFullscreen == b ) { 121 if ( isFullscreen == b ) {
121 return; 122 return;
122 } 123 }
123 isFullscreen = b; 124 isFullscreen = b;
124 emit fullscreenToggled(b); 125 emit fullscreenToggled(b);
125} 126}
126 127
127 128