File indexing completed on 2024-05-12 04:33:58
0001 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*- 0002 /* 0003 SPDX-FileCopyrightText: 2005 Stefan Kebekus <kebekus@kde.org> 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef _PREBOOKMARK_H_ 0008 #define _PREBOOKMARK_H_ 0009 0010 /*! \brief Bookmark representation 0011 0012 This class presents a bookmark in a format that is used internally by 0013 the DVI prescan routines. 0014 */ 0015 0016 class PreBookmark 0017 { 0018 public: 0019 PreBookmark() 0020 { 0021 title.clear(); 0022 anchorName.clear(); 0023 noOfChildren = 0; 0024 } 0025 PreBookmark(const QString &t, const QString &a, quint16 n) 0026 : title(t) 0027 , anchorName(a) 0028 , noOfChildren(n) 0029 { 0030 } 0031 0032 // Title of the bookmark 0033 QString title; 0034 0035 // Name of the anchor 0036 QString anchorName; 0037 0038 // Number of subordinate bookmarks 0039 quint16 noOfChildren; 0040 }; 0041 0042 #endif