KTextTemplate

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

Go to the source code of this file.

Namespaces

namespace  KTextTemplate
 

Macros

#define KTEXTTEMPLATE_BEGIN_LOOKUP(Type)
 
#define KTEXTTEMPLATE_BEGIN_LOOKUP_PTR(Type)
 
#define KTEXTTEMPLATE_END_LOOKUP
 

Functions

template<typename RealType , typename HandleAs >
int KTextTemplate::registerMetaType ()
 

Macro Definition Documentation

◆ KTEXTTEMPLATE_BEGIN_LOOKUP

#define KTEXTTEMPLATE_BEGIN_LOOKUP ( Type)
Value:
namespace KTextTemplate \
{ \
template<> \
inline QVariant TypeAccessor<Type &>::lookUp(const Type &object, const QString &property) \
{
The KTextTemplate namespace holds all public KTextTemplate API.
Definition Mainpage.dox:8

Top boundary of a lookup function for Type.

See also
Generic type support

Definition at line 205 of file metatype.h.

◆ KTEXTTEMPLATE_BEGIN_LOOKUP_PTR

#define KTEXTTEMPLATE_BEGIN_LOOKUP_PTR ( Type)
Value:
namespace KTextTemplate \
{ \
template<> \
inline QVariant TypeAccessor<Type *>::lookUp(const Type *const object, const QString &property) \
{

Top boundary of a lookup function for Type*.

See also
Generic type support

Definition at line 216 of file metatype.h.

◆ KTEXTTEMPLATE_END_LOOKUP

#define KTEXTTEMPLATE_END_LOOKUP
Value:
return QVariant(); \
} \
}

Bottom boundary of a lookup function for Type.

See also
Generic type support

Definition at line 227 of file metatype.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:42 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.