From 59feffc5a253fec33b310f7a0105c8ef42b9019b Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 14 Jun 2015 01:35:25 +0200 Subject: paperreplay working --- mainwindow.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mainwindow.h') diff --git a/mainwindow.h b/mainwindow.h index 4072ffa..7a8fab4 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -2,6 +2,8 @@ #define MAINWINDOW_H #include +#include +#include #include "notebookmodel.h" #include "smartpenmanager.h" @@ -24,11 +26,18 @@ public slots: private slots: void handleNotebookSelected(const QModelIndex &index); void handleCurPageChanged(); + void handlePaperReplayRequested(const QString &file, qint64 time); + void handlePaperReplayPlay(); + void handlePaperReplayPause(); + void handleMediaStateChange(Phonon::State state); private: Ui::MainWindow *ui; NotebookModel *_notebooks; SmartpenManager *_manager; + Phonon::MediaObject *_media; + Phonon::AudioOutput *_mediaOutput; + qint64 _pendingSeek; QString _curPenName; QString _curNotebookName; -- cgit v1.2.3