Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
generator.h File Reference

(e8a4f796b9a09c3d47101e681e97e70ce18ad4a2)

#include "text.h"
#include "utilities.h"
#include "filesystem/fileresolver.h"
#include <QtCore/qlist.h>
#include <QtCore/qmap.h>
#include <QtCore/qstring.h>
#include <QtCore/qstringlist.h>
#include <QtCore/qtextstream.h>
#include <optional>
+ Include dependency graph for generator.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Generator
 

Functions

std::optional< QStringformatStatus (const Node *node, QDocDatabase *qdb)
 

Variables

QT_BEGIN_NAMESPACE typedef QMultiMap< QString, Node * > NodeMultiMap
 

Function Documentation

◆ formatStatus()

std::optional< QString > formatStatus ( const Node * node,
QDocDatabase * qdb )

Returns a string representing status information of a node.

If a status description is returned, it is one of: \list

  • Custom status set explicitly in node's documentation using {\meta {status} {}},
  • 'Deprecated [since <version>]' (\deprecated [<version>]),
  • 'Until <version>',
  • 'Preliminary' (\preliminary), or
  • The description adopted from associated module's state: {\modulestate {}}. \endlist

Otherwise, returns std::nullopt.

Definition at line 1146 of file generator.cpp.

References Node< _Tp >::Deprecated, Node< _Tp >::doc(), QDocDatabase::getModuleNode(), Doc::metaTagMap(), Node< _Tp >::Preliminary, and Node< _Tp >::status().

+ Here is the call graph for this function:

Variable Documentation

◆ NodeMultiMap