From 41f9a9b0563c3bd523bd534b854e50161a2626b3 Mon Sep 17 00:00:00 2001 From: Javier Date: Sat, 13 Jun 2015 04:24:21 +0200 Subject: continue with paperreplay loading changes --- afdnotebook.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'afdnotebook.cc') diff --git a/afdnotebook.cc b/afdnotebook.cc index 38f1fdc..e3b024a 100644 --- a/afdnotebook.cc +++ b/afdnotebook.cc @@ -49,6 +49,11 @@ QString AfdNotebook::title() const return _title; } +quint64 AfdNotebook::guid() const +{ + return _guid; +} + int AfdNotebook::numPages() const { return _pages.size(); @@ -232,6 +237,7 @@ bool AfdNotebook::parseMainInfo() } _title = info["title"]; + _guid = info["guid"].mid(3).toULongLong(0, 16); _firstPage = PageAddress(info["pagestart"]); _lastPage = PageAddress(info["pagestop"]); _pagesPerBook = info.value("segment-pages-per-book", "108").toUInt(); -- cgit v1.2.3