author | harlekin <harlekin> | 2002-08-05 16:58:54 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-05 16:58:54 (UTC) |
commit | 6577ed5401ef1374b57a58dd459e91c10899e097 (patch) (unidiff) | |
tree | be02c6759e10490af57918f9b2475a552a571da1 | |
parent | af5168ac637f2f5b871cc73a69151dd3d829fec0 (diff) | |
download | opie-6577ed5401ef1374b57a58dd459e91c10899e097.zip opie-6577ed5401ef1374b57a58dd459e91c10899e097.tar.gz opie-6577ed5401ef1374b57a58dd459e91c10899e097.tar.bz2 |
doc updates
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.cpp | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp index d08ff04..cf7dcb2 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.cpp +++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp | |||
@@ -45,3 +45,3 @@ XineControl::XineControl( QObject *parent, const char *name ) | |||
45 | 45 | ||
46 | connect ( videoUI, SIGNAL( videoResized ( const QSize & )), this, SLOT( videoResized ( const QSize & ))); | 46 | connect ( videoUI, SIGNAL( videoResized ( const QSize & )), this, SLOT( videoResized ( const QSize & ))); |
47 | connect( mediaPlayerState, SIGNAL( pausedToggled(bool) ), this, SLOT( pause(bool) ) ); | 47 | connect( mediaPlayerState, SIGNAL( pausedToggled(bool) ), this, SLOT( pause(bool) ) ); |
@@ -51,3 +51,2 @@ XineControl::XineControl( QObject *parent, const char *name ) | |||
51 | connect( mediaPlayerState, SIGNAL( positionChanged( long ) ), this, SLOT( seekTo( long ) ) ); | 51 | connect( mediaPlayerState, SIGNAL( positionChanged( long ) ), this, SLOT( seekTo( long ) ) ); |
52 | |||
53 | } | 52 | } |
@@ -95,2 +94,6 @@ void XineControl::stop( bool isSet ) { | |||
95 | 94 | ||
95 | /** | ||
96 | * Pause playback | ||
97 | * @isSet | ||
98 | */ | ||
96 | void XineControl::pause( bool isSet) { | 99 | void XineControl::pause( bool isSet) { |
@@ -99,2 +102,6 @@ void XineControl::pause( bool isSet) { | |||
99 | 102 | ||
103 | |||
104 | /** | ||
105 | * get current time in playback | ||
106 | */ | ||
100 | long XineControl::currentTime() { | 107 | long XineControl::currentTime() { |
@@ -106,2 +113,5 @@ long XineControl::currentTime() { | |||
106 | 113 | ||
114 | /** | ||
115 | * Set the length of the media file | ||
116 | */ | ||
107 | void XineControl::length() { | 117 | void XineControl::length() { |
@@ -111,2 +121,7 @@ void XineControl::length() { | |||
111 | 121 | ||
122 | |||
123 | /** | ||
124 | * Reports the position the xine backend is at right now | ||
125 | * @return long the postion in seconds | ||
126 | */ | ||
112 | long XineControl::position() { | 127 | long XineControl::position() { |
@@ -123,2 +138,6 @@ long XineControl::position() { | |||
123 | 138 | ||
139 | /** | ||
140 | * Set videoplayback to fullscreen | ||
141 | * @param isSet | ||
142 | */ | ||
124 | void XineControl::setFullscreen( bool isSet ) { | 143 | void XineControl::setFullscreen( bool isSet ) { |
@@ -127,4 +146,7 @@ void XineControl::setFullscreen( bool isSet ) { | |||
127 | 146 | ||
147 | /** | ||
148 | * Seek to a position in the track | ||
149 | * @param second the second to jump to | ||
150 | */ | ||
128 | void XineControl::seekTo( long second ) { | 151 | void XineControl::seekTo( long second ) { |
129 | qDebug("seek triggered!!"); | ||
130 | libXine->play( m_fileName , 0, (int)second ); | 152 | libXine->play( m_fileName , 0, (int)second ); |
@@ -132,5 +154,3 @@ void XineControl::seekTo( long second ) { | |||
132 | 154 | ||
133 | 155 | void XineControl::videoResized ( const QSize &s ) { | |
134 | void XineControl::videoResized ( const QSize &s ) | ||
135 | { | ||
136 | libXine-> resize ( s ); | 156 | libXine-> resize ( s ); |