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
utilities.h File Reference

(2938ecb3e092f502e9bd58a8c97c37d2c3354747)

#include <QtCore/qstring.h>
#include <QtCore/qloggingcategory.h>
Include dependency graph for utilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Utilities
 This namespace holds QDoc-internal utility methods.

Functions

void Utilities::startDebugging (const QString &message)
void Utilities::stopDebugging (const QString &message)
bool Utilities::debugging ()
const INodeUtilities::nodeForString (const QString &string)
 Converts a string representation of a pointer address to an INode pointer.
QString Utilities::stringForNode (const INode *node)
 Converts an INode pointer address to its string representation.
QString Utilities::uniqueIdentifier (const Location &loc, const QString &prefix)
 Returns a unique identifier based on location loc, with a given prefix.
QString Utilities::separator (qsizetype wordPosition, qsizetype numberOfWords)
QString Utilities::comma (qsizetype wordPosition, qsizetype numberOfWords)
QString Utilities::asAsciiPrintable (const QString &str)
 Returns an ascii-printable representation of str.
QString Utilities::protect (const QString &string)
QStringList Utilities::getInternalIncludePaths (const QString &compiler)
bool Utilities::isGeneratedFile (const QString &path)

Variables

static constexpr QLatin1StringView Utilities::samp = "&amp;"_L1
static constexpr QLatin1StringView Utilities::slt = "&lt;"_L1
static constexpr QLatin1StringView Utilities::sgt = "&gt;"_L1
static constexpr QLatin1StringView Utilities::squot = "&quot;"_L1