Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index a52319b..7c2b007 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp @@ -174,7 +174,7 @@ AudioWidget::AudioWidget(QWidget* parent, const char* name, WFlags f) : setLength( mediaPlayerState->length() ); setPosition( mediaPlayerState->position() ); - setLooping( mediaPlayerState->fullscreen() ); + setLooping( mediaPlayerState->isFullscreen() ); // setPaused( mediaPlayerState->paused() ); - setPlaying( mediaPlayerState->playing() ); + setPlaying( mediaPlayerState->isPlaying() ); } @@ -432,8 +432,8 @@ void AudioWidget::mouseMoveEvent( QMouseEvent *event ) { switch (i) { case AudioPlay: - if( mediaPlayerState->paused() ) { + if( mediaPlayerState->isPaused() ) { mediaPlayerState->setPaused( FALSE ); return; - } else if( !mediaPlayerState->paused() ) { + } else if( !mediaPlayerState->isPaused() ) { mediaPlayerState->setPaused( TRUE ); return; @@ -514,5 +514,5 @@ void AudioWidget::keyReleaseEvent( QKeyEvent *e) { break; case Key_Space: { - if(mediaPlayerState->playing()) { + if(mediaPlayerState->isPlaying()) { // toggleButton(1); mediaPlayerState->setPlaying(FALSE); |