| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 2 Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 3 Copyright (C) 2009 Apple Inc. All rights reserved. | 3 Copyright (C) 2009 Apple Inc. All rights reserved. |
| 4 | 4 |
| 5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
| 6 modify it under the terms of the GNU Library General Public | 6 modify it under the terms of the GNU Library General Public |
| 7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
| 8 version 2 of the License, or (at your option) any later version. | 8 version 2 of the License, or (at your option) any later version. |
| 9 | 9 |
| 10 This library is distributed in the hope that it will be useful, | 10 This library is distributed in the hope that it will be useful, |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 MediaPlayer::NetworkState networkState() const; | 102 MediaPlayer::NetworkState networkState() const; |
| 103 MediaPlayer::ReadyState readyState() const; | 103 MediaPlayer::ReadyState readyState() const; |
| 104 | 104 |
| 105 float maxTimeBuffered() const; | 105 float maxTimeBuffered() const; |
| 106 float maxTimeSeekable() const; | 106 float maxTimeSeekable() const; |
| 107 unsigned bytesLoaded() const; | 107 unsigned bytesLoaded() const; |
| 108 bool totalBytesKnown() const; | 108 bool totalBytesKnown() const; |
| 109 unsigned totalBytes() const; | 109 unsigned totalBytes() const; |
| 110 | 110 |
| 111 void setVisible(bool); | 111 void setVisible(bool); |
| 112 void setRect(const IntRect&); | 112 void setSize(const IntSize&); |
| 113 | 113 |
| 114 void paint(GraphicsContext*, const IntRect&); | 114 void paint(GraphicsContext*, const IntRect&); |
| 115 | 115 |
| 116 protected: | 116 protected: |
| 117 bool eventFilter(QObject*, QEvent*); | 117 bool eventFilter(QObject*, QEvent*); |
| 118 | 118 |
| 119 private slots: | 119 private slots: |
| 120 void stateChanged(Phonon::State, Phonon::State); | 120 void stateChanged(Phonon::State, Phonon::State); |
| 121 void metaDataChanged(); | 121 void metaDataChanged(); |
| 122 void seekableChanged(bool); | 122 void seekableChanged(bool); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 144 | 144 |
| 145 Phonon::MediaObject* m_mediaObject; | 145 Phonon::MediaObject* m_mediaObject; |
| 146 Phonon::VideoWidget* m_videoWidget; | 146 Phonon::VideoWidget* m_videoWidget; |
| 147 Phonon::AudioOutput* m_audioOutput; | 147 Phonon::AudioOutput* m_audioOutput; |
| 148 | 148 |
| 149 bool m_isVisible; | 149 bool m_isVisible; |
| 150 }; | 150 }; |
| 151 } | 151 } |
| 152 | 152 |
| 153 #endif // MediaPlayerPrivatePhonon_h | 153 #endif // MediaPlayerPrivatePhonon_h |
| OLD | NEW |