aboutsummaryrefslogtreecommitdiff
path: root/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h
index cafec49..9bce36a 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -24,6 +24,10 @@ public slots:
void closeNotebook();
void openNotebook(const QString &pen, const QString &notebook);
+ void exportCurrentPageAsPng(const QString &file);
+ void exportCurrentPageAsSvg(const QString &file);
+ void exportCurrentPaperReplayAsAac(const QString &file);
+
private slots:
void handleNotebookSelected(const QModelIndex &index);
void handleCurPageChanged();
@@ -32,6 +36,12 @@ private slots:
void handlePaperReplayPlay();
void handlePaperReplayPause();
void handleMediaStateChange(Phonon::State state);
+ void handleMediaTotalTimeChanged(qint64 time);
+ void handleMediaTick(qint64 time);
+ void handleExport();
+
+private:
+ QString formatDuration(qint64 time);
private:
Ui::MainWindow *ui;