author | simon <simon> | 2002-12-02 13:47:10 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 13:47:10 (UTC) |
commit | 1646c471d8a1f54df65c8d58402bc80af004f498 (patch) (side-by-side diff) | |
tree | e6697a36c96e7d1c7295e46bea5a6847fe2e22ec /noncore/multimedia/opieplayer2/audiowidget.cpp | |
parent | b992707037f3bbf4573c52b34b3d25cbbf07bad0 (diff) | |
download | opie-1646c471d8a1f54df65c8d58402bc80af004f498.zip opie-1646c471d8a1f54df65c8d58402bc80af004f498.tar.gz opie-1646c471d8a1f54df65c8d58402bc80af004f498.tar.bz2 |
- paused() -> isPaused() and the like for all accessor functions in the
mediaplayerstate class
Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.cpp') (more/less context) (show 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 @@ -173,9 +173,9 @@ AudioWidget::AudioWidget(QWidget* parent, const char* name, WFlags f) : // Intialise state setLength( mediaPlayerState->length() ); setPosition( mediaPlayerState->position() ); - setLooping( mediaPlayerState->fullscreen() ); + setLooping( mediaPlayerState->isFullscreen() ); // setPaused( mediaPlayerState->paused() ); - setPlaying( mediaPlayerState->playing() ); + setPlaying( mediaPlayerState->isPlaying() ); } @@ -431,10 +431,10 @@ void AudioWidget::mouseMoveEvent( QMouseEvent *event ) { qDebug("mouseEvent %d", i); 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; } @@ -513,7 +513,7 @@ void AudioWidget::keyReleaseEvent( QKeyEvent *e) { mediaPlayerState->toggleBlank(); break; case Key_Space: { - if(mediaPlayerState->playing()) { + if(mediaPlayerState->isPlaying()) { // toggleButton(1); mediaPlayerState->setPlaying(FALSE); // toggleButton(1); |