diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2018-03-21 15:20:09 -0400 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2018-03-21 15:20:09 -0400 |
commit | e41f68cc4576b8581466051319c94a1e840049c4 (patch) | |
tree | 60b72d0c5f36593d030730f5472141834c9956f2 /src-qt5/desktop-utils/lumina-pdf/Bookmark.h | |
parent | Fix up the spacing/margins for the UI. (diff) | |
download | lumina-e41f68cc4576b8581466051319c94a1e840049c4.tar.gz lumina-e41f68cc4576b8581466051319c94a1e840049c4.tar.bz2 lumina-e41f68cc4576b8581466051319c94a1e840049c4.zip |
Added a bookmarks menu, enabled on the MuPDF side.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/Bookmark.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/Bookmark.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/Bookmark.h b/src-qt5/desktop-utils/lumina-pdf/Bookmark.h new file mode 100644 index 00000000..9a78beb2 --- /dev/null +++ b/src-qt5/desktop-utils/lumina-pdf/Bookmark.h @@ -0,0 +1,17 @@ +#pragma once + +class Bookmark { + public: + Bookmark(char *_title, char *_link, int _pagenum, int _level) : + pagenum(_pagenum), + level(_level) + { + title = QString::fromLocal8Bit(_title); + link = QString::fromLocal8Bit(_link); + } + + QString title; + QString link; + int pagenum; + int level; +}; |