aboutsummaryrefslogtreecommitdiff
path: root/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h9
1 files changed, 9 insertions, 0 deletions
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 <QtGui/QMainWindow>
+#include <phonon/MediaObject>
+#include <phonon/AudioOutput>
#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;