aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/Bookmark.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/Bookmark.h')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/Bookmark.h17
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;
+};
bgstack15