From ac7b085449fb49f54225d22c7c229da6ad120e2b Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 12 Sep 2021 19:41:12 +0200 Subject: remove PEN_EPOCH mistake and get usertime from the pen --- notebookview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'notebookview.h') diff --git a/notebookview.h b/notebookview.h index 4e557d1..c1e425d 100644 --- a/notebookview.h +++ b/notebookview.h @@ -43,6 +43,9 @@ public: void setPaperReplay(const QString &path); QString paperReplay() const; + void setPenUserTime(quint64 userTime); + quint64 penUserTime() const; + QList pageNumbers() const; int curPage() const; @@ -88,6 +91,7 @@ private: PaperReplay *_replay; QString _nbPath; QString _replayPath; + quint64 _penUserTime; QMap _pages; QSizeF _maxPageSize; int _numColumns; -- cgit v1.2.3