From 46cb4b079be113996214660020d6ef0c3d1f1e80 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 14 Jun 2015 03:32:35 +0200 Subject: paperless replay also working --- mainwindow.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mainwindow.h') diff --git a/mainwindow.h b/mainwindow.h index 7a8fab4..cafec49 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -5,6 +5,7 @@ #include #include #include "notebookmodel.h" +#include "paperreplaymodel.h" #include "smartpenmanager.h" namespace Ui { @@ -26,6 +27,7 @@ public slots: private slots: void handleNotebookSelected(const QModelIndex &index); void handleCurPageChanged(); + void handlePaperReplaySelected(const QModelIndex &index); void handlePaperReplayRequested(const QString &file, qint64 time); void handlePaperReplayPlay(); void handlePaperReplayPause(); @@ -35,12 +37,16 @@ private: Ui::MainWindow *ui; NotebookModel *_notebooks; SmartpenManager *_manager; + Phonon::MediaObject *_media; Phonon::AudioOutput *_mediaOutput; qint64 _pendingSeek; QString _curPenName; QString _curNotebookName; + + PaperReplay *_replay; + PaperReplayModel *_replayModel; }; #endif // MAINWINDOW_H -- cgit v1.2.3