Qt 4.8
Classes | Namespaces | Functions
qpatternistlocale_p.h File Reference

Contains functions used for formatting arguments, such as keywords and paths, in translated strings. More...

#include <QCoreApplication>
#include <QString>
#include <QUrl>
#include "qcardinality_p.h"
#include "qnamepool_p.h"
#include "qprimitives_p.h"

Go to the source code of this file.

Classes

class  QPatternist::QtXmlPatterns
 Provides a translation context & functions for the QtXmlPatterns module. More...
 

Namespaces

 QPatternist
 The namespace for the internal API of QtXmlPatterns.
 

Functions

static QString QPatternist::formatAttribute (const QString &attribute)
 Formats attribute name. More...
 
static QString QPatternist::formatAttribute (const char *const attribute)
 
static QString QPatternist::formatData (const QString &data)
 
static QString QPatternist::formatData (const xsInteger data)
 
static QString QPatternist::formatData (const char *const data)
 
static QString QPatternist::formatData (const QLatin1Char &data)
 
static QString QPatternist::formatElement (const QString &element)
 Formats element name. More...
 
static QString QPatternist::formatElement (const char *const element)
 
static QString QPatternist::formatExpression (const QString &expr)
 
QString QPatternist::formatKeyword (const QString &keyword)
 
static QString QPatternist::formatKeyword (const QStringRef &keyword)
 
static QString QPatternist::formatKeyword (const char *const keyword)
 
static QString QPatternist::formatKeyword (const QChar keyword)
 
static QString QPatternist::formatResourcePath (const QUrl &uri)
 Formats uri as a path to a resource, typically it's a filename or a URI. More...
 
template<typename T >
QString QPatternist::formatType (const NamePool::Ptr &np, const T &type)
 Formats ItemType and SequenceType. More...
 
static QString QPatternist::formatType (const NamePool::Ptr &np, const QXmlName &name)
 Formats name of any type. More...
 
static QString QPatternist::formatType (const Cardinality &type)
 Formats Cardinality. More...
 
static QString QPatternist::formatURI (const QUrl &uri)
 Formats uri for display. More...
 
static QString QPatternist::formatURI (const QString &uri)
 Formats uri, that's considered to be a URI, for display. More...
 

Detailed Description

Contains functions used for formatting arguments, such as keywords and paths, in translated strings.

Definition in file qpatternistlocale_p.h.