- // list/model
- void itemActivated(const QModelIndex &index);
- void selectionChanged (const QItemSelection & selected, const QItemSelection & deselected);
- void activeRowChanged(int);
- void selectVideos(QList<Video*> videos);
- void gotStreamUrl(QUrl streamUrl);
- void handleError(QString message);
- // phonon
-#ifdef APP_PHONON
- void stateChanged(Phonon::State newState, Phonon::State oldState);
-#endif
- void aboutToFinish();
-#ifdef APP_ACTIVATION
- void demoMessage();
- void updateContinueButton(int);
-#endif
- void startPlaying();
- void downloadStatusChanged();
- void playbackFinished();
- void playbackResume();
- void authorPushed(QModelIndex);
+ void onItemActivated(const QModelIndex &index);
+ void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
+ void activeVideoChanged(Video *video, Video *previousVideo);
+ void selectVideos(const QVector<Video *> &videos);
+ void gotStreamUrl(const QString &streamUrl, const QString &audioUrl);
+ void handleError(const QString &message);
+ void mediaStateChanged(Media::State state);
+ void onAboutToFinish();
+ void onPlaybackFinished();
+ void resumePlayback();
+ void onAuthorPushed(QModelIndex);