aboutsummaryrefslogtreecommitdiff
path: root/mainwindow.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-06-14 03:32:35 +0200
committerJavier <dev.git@javispedro.com>2015-06-14 03:32:35 +0200
commit46cb4b079be113996214660020d6ef0c3d1f1e80 (patch)
tree4f3c7ec2d09fe532b2d0a640aadffe52d6abf67a /mainwindow.h
parent59feffc5a253fec33b310f7a0105c8ef42b9019b (diff)
downloadscribiu-46cb4b079be113996214660020d6ef0c3d1f1e80.tar.gz
scribiu-46cb4b079be113996214660020d6ef0c3d1f1e80.zip
paperless replay also working
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h
index 7a8fab4..cafec49 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -5,6 +5,7 @@
#include <phonon/MediaObject>
#include <phonon/AudioOutput>
#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