aboutsummaryrefslogtreecommitdiff
path: root/mainwindow.h
diff options
context:
space:
mode:
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