KTextTemplate

util.h File Reference
#include "context.h"
#include "ktexttemplate_export.h"
#include "safestring.h"
#include <QVariant>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  KTextTemplate
 

Functions

std::pair< qreal, QStringKTextTemplate::calcFileSize (qreal size, int unitSystem=10, qreal multiplier=1.0)
 
bool KTextTemplate::equals (const QVariant &lhs, const QVariant &rhs)
 
KTextTemplate::SafeString KTextTemplate::getSafeString (const QVariant &input)
 
bool KTextTemplate::isSafeString (const QVariant &input)
 
KTextTemplate::SafeString KTextTemplate::markForEscaping (const KTextTemplate::SafeString &input)
 
KTextTemplate::SafeString KTextTemplate::markSafe (const KTextTemplate::SafeString &input)
 
bool KTextTemplate::supportedOutputType (const QVariant &input)
 
QString KTextTemplate::unescapeStringLiteral (const QString &input)
 
bool KTextTemplate::variantIsTrue (const QVariant &variant)
 

Detailed Description

Utility functions used throughout KTextTemplate.

Definition in file util.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.