diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-04-14 18:58:12 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-04-14 18:58:12 (GMT) |
commit | 3901935a5366fa292aa1d3880593b6fb13008b14 (patch) | |
tree | 5ab530f2a8e3f874fc2e925fd8e0bb988de8d3c8 /src/reflist.h | |
parent | 341f860ab7ae3e5255891b0984bec8b36e7557ef (diff) | |
download | Doxygen-3901935a5366fa292aa1d3880593b6fb13008b14.zip Doxygen-3901935a5366fa292aa1d3880593b6fb13008b14.tar.gz Doxygen-3901935a5366fa292aa1d3880593b6fb13008b14.tar.bz2 |
issue #7702: test list is always created
Diffstat (limited to 'src/reflist.h')
-rw-r--r-- | src/reflist.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/reflist.h b/src/reflist.h index 49c3036..19636f1 100644 --- a/src/reflist.h +++ b/src/reflist.h @@ -3,8 +3,8 @@ * Copyright (C) 1997-2020 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its - * documentation under the terms of the GNU General Public License is hereby - * granted. No representations are made about the suitability of this software + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * @@ -67,11 +67,11 @@ class RefItem const Definition *m_scope = 0; //!< scope to use for references. }; -/** List of cross-referenced items - * +/** List of cross-referenced items + * * This class represents a list of items that are put - * at a certain point in the documentation by some special command - * and are collected in a list. The items cross-reference the + * at a certain point in the documentation by some special command + * and are collected in a list. The items cross-reference the * documentation and the list. * * Examples are the todo list, the test list and the bug list, @@ -89,6 +89,8 @@ class RefList m_listName(listName), m_fileName(convertNameToFile(listName,FALSE,TRUE)), m_pageTitle(pageTitle), m_secTitle(secTitle) {} + bool isEnabled() const; + /*! Adds a new item to the list. * @returns A unique id for this item. */ @@ -111,7 +113,7 @@ class RefList auto it = m_lookup.find(itemId); return it!=m_lookup.end() ? it->second : nullptr; } - + QCString listName() const { return m_listName; } QCString fileName() const { return m_fileName; } QCString pageTitle() const { return m_pageTitle; } |