<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Grantlee: The Grantlee Libraries</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Grantlee<span id="projectnumber">&#160;5.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div><div class="header">
  <div class="headertitle"><div class="title">The <a class="el" href="namespaceGrantlee.html" title="The Grantlee namespace holds all public Grantlee API.">Grantlee</a> Libraries </div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="overview"></a>
Overview</h1>
<p>Grantlee is a Free Software, Open Source set of Qt based libraries used for text processing.</p>
<p>The text template is modelled after the <a href="https://docs.djangoproject.com/en/1.9/ref/templates/language/">Django template system</a>:</p>
<div class="fragment"><div class="line">&lt;<a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">ul</a>&gt;</div>
<div class="line">{% <span class="keywordflow">for</span> <a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">athlete</a> <a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">in</a> <a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">athlete_list</a> %}</div>
<div class="line">&lt;<a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">li</a>&gt;{{ <a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">athlete</a>.name }}{% <span class="keywordflow">if</span> <a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">athlete</a>.isCaptain %} (<a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">C</a>){% <a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">endif</a> %}&lt;/<a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">li</a>&gt;</div>
<div class="line">{% <a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">endfor</a> %}</div>
<div class="line">&lt;/<a class="code hl_function" href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">ul</a>&gt;</div>
<div class="ttc" id="anamespaceGrantlee_html_ad8e66694604688cb9402241f444deda3"><div class="ttname"><a href="namespaceGrantlee.html#ad8e66694604688cb9402241f444deda3">Grantlee::registerMetaType</a></div><div class="ttdeci">int registerMetaType()</div><div class="ttdoc">Registers the type RealType with the metatype system.</div><div class="ttdef"><b>Definition</b> <a href="metatype_8h_source.html#l00182">metatype.h:182</a></div></div>
</div><!-- fragment --><p>Grantlee is covered by the GNU Lesser General Public Licence version 2.1 or, at your option, any later version.</p>
<table class="main_api">
<tr>
<th class="library" colspan="3">Grantlee Templates </th></tr>
<tr>
<th class="section">Application API</th><th class="section">Plugin API</th><th class="section">Guides </th></tr>
<tr>
<td><ul>
<li><a class="el" href="classGrantlee_1_1AbstractLocalizer.html" title="Interface for implementing an internationalization system.">AbstractLocalizer</a></li>
<li><a class="el" href="classGrantlee_1_1AbstractTemplateLoader.html" title="An retrieval interface to a storage location for Template objects.">AbstractTemplateLoader</a></li>
<li><a class="el" href="classGrantlee_1_1CachingLoaderDecorator.html" title="Implements a loader decorator which caches compiled Template objects.">CachingLoaderDecorator</a></li>
<li><a class="el" href="classGrantlee_1_1Context.html" title="The Context class holds the context to render a Template with.">Context</a></li>
<li><a class="el" href="classGrantlee_1_1Engine.html" title="Grantlee::Engine is the main entry point for creating Grantlee Templates.">Engine</a></li>
<li><a class="el" href="classGrantlee_1_1FileSystemTemplateLoader.html" title="The FileSystemTemplateLoader loads Templates from the file system.">FileSystemTemplateLoader</a></li>
<li><a class="el" href="classGrantlee_1_1InMemoryTemplateLoader.html" title="The InMemoryTemplateLoader loads Templates set dynamically in memory.">InMemoryTemplateLoader</a></li>
<li><a class="el" href="classGrantlee_1_1OutputStream.html" title="The OutputStream class is used to render templates to a QTextStream.">OutputStream</a></li>
<li><a class="el" href="classGrantlee_1_1QtLocalizer.html" title="Provides internationalization based on QLocale and QTranslator.">QtLocalizer</a></li>
<li><a class="el" href="classGrantlee_1_1Template.html" title="The Template class is a tree of nodes which may be rendered.">Template</a> </li>
</ul>
</td><td><ul>
<li><a class="el" href="classGrantlee_1_1AbstractNodeFactory.html" title="Base class for all NodeFactories.">AbstractNodeFactory</a></li>
<li><a class="el" href="classGrantlee_1_1Exception.html" title="An exception for use when implementing template tags.">Exception</a></li>
<li><a class="el" href="classGrantlee_1_1Filter.html" title="Base class for all filters.">Filter</a></li>
<li><a class="el" href="classGrantlee_1_1FilterExpression.html" title="A FilterExpression object represents a filter expression in a template.">FilterExpression</a></li>
<li><a class="el" href="classGrantlee_1_1Node.html" title="Base class for all nodes.">Node</a></li>
<li><a class="el" href="classGrantlee_1_1NodeList.html" title="A list of Nodes with some convenience API for rendering them.">NodeList</a></li>
<li><a class="el" href="classGrantlee_1_1Parser.html" title="The Parser class processes a string template into a tree of nodes.">Parser</a></li>
<li><a class="el" href="classGrantlee_1_1RenderContext.html" title="Provides storage facility for state while rendering a template.">RenderContext</a></li>
<li><a class="el" href="classGrantlee_1_1SafeString.html" title="A QString wrapper class for containing whether a string is safe or needs to be escaped.">SafeString</a></li>
<li><a class="el" href="classGrantlee_1_1TagLibraryInterface.html" title="The TagLibraryInterface returns available tags and filters from libraries.">TagLibraryInterface</a></li>
<li><a class="el" href="classGrantlee_1_1Variable.html" title="A container for static variables defined in Templates.">Variable</a> </li>
</ul>
</td><td><ul>
<li><a class="el" href="for_themers.html">Grantlee for theme artists</a></li>
<li><a class="el" href="for_app_dev.html">Grantlee for application developers</a></li>
<li><a class="el" href="builtins.html">Builtin tags and filters.</a></li>
<li><a class="el" href="extension.html">Extending the template system</a></li>
<li><a class="el" href="examples.html">Examples of Grantlee use</a></li>
<li><a class="el" href="differences_django.html">Differences between Django and Grantlee</a></li>
<li><a class="el" href="using_and_deploying.html">Using Grantlee in your application</a></li>
<li><a class="el" href="internals.html">Internals</a></li>
<li><a class="el" href="generic_types_and_templates.html">Generic type and template support</a></li>
<li><a class="el" href="i18n_l10n.html">Internationalization and Localization</a></li>
<li><a class="el" href="porting_from_qt4.html">Porting from Qt4-based Grantlee</a>  </li>
</ul>
</td></tr>
<tr>
<th class="library" colspan="3">Grantlee TextDocument </th></tr>
<tr>
<td colspan="2"><ul>
<li><a class="el" href="classGrantlee_1_1AbstractMarkupBuilder.html" title="Interface for creating marked-up text output.">AbstractMarkupBuilder</a></li>
<li><a class="el" href="classGrantlee_1_1MarkupDirector.html" title="Instructs a builder object to create markup output.">MarkupDirector</a></li>
<li><a class="el" href="classGrantlee_1_1TextHTMLBuilder.html" title="The TextHTMLBuilder creates a clean html markup output.">TextHTMLBuilder</a></li>
<li><a class="el" href="classGrantlee_1_1PlainTextMarkupBuilder.html" title="Creates a simple marked up plain text document.">PlainTextMarkupBuilder</a> </li>
</ul>
</td><td><ul>
<li><a class="el" href="custom_qtextobject.html">Handling custom QTextObjects</a>  </li>
</ul>
</td></tr>
</table>
<p><br  />
</p>
<center> <b> <div class="dotgraph">
<img src="dot_moduledeps.png" alt="dot_moduledeps.png" border="0" usemap="#dot_moduledeps.map"/>
<div class="caption">
Dependency Graph for Grantlee</div>
</div>
 </b> </center><h1><a class="anchor" id="start_community"></a>
Community</h1>
<p>The Grantlee project mailing list is <a href="#" onclick="location.href='mai'+'lto:'+'kde'+'-p'+'im@'+'kd'+'e.o'+'rg'; return false;">kde-p<span class="obfuscator">.nosp@m.</span>im@k<span class="obfuscator">.nosp@m.</span>de.or<span class="obfuscator">.nosp@m.</span>g</a>, and the IRC channel is #grantlee on freenode.</p>
<p>The source repository is located at <a href="https://github.com/steveire/grantlee">https://github.com/steveire/grantlee</a></p>
<ul>
<li>Existing bugs <a href="https://bugs.kde.org/buglist.cgi?product=grantlee">https://bugs.kde.org/buglist.cgi?product=grantlee</a></li>
<li>File new bug <a href="https://bugs.kde.org/enter_bug.cgi?product=grantlee">https://bugs.kde.org/enter_bug.cgi?product=grantlee</a> </li>
</ul>
</div></div><!-- PageDoc -->
<a href="doxygen_crawl.html"/>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
</small></address>
</body>
</html>
