You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
24 KiB
103 lines
24 KiB
<!-- HTML header for doxygen 1.8.13-->
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.14"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>QtMvvm: qqmlserviceregistry.h Source File</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>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.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" style="display: inline;">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">QtMvvm
|
|
 <span id="projectnumber">1.1.0</span>
|
|
</div>
|
|
<div id="projectbrief">A mvvm oriented library for Qt, to create Projects for Widgets and Quick in parallel</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a style="float: right;" target="_blank" href="https://github.com/Skycoder42/QtMvvm">
|
|
<img style="padding: 10px;" src="GitHub_Logo.png"/>
|
|
</a>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_a8bd8bcf293c2ab1210f2c2ecd8006f3.html">imports</a></li><li class="navelem"><a class="el" href="dir_29e33cf65180198299d19783a3e358d1.html">mvvmcore</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">qqmlserviceregistry.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef QTMVVM_QQMLSERVICEREGISTRY_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define QTMVVM_QQMLSERVICEREGISTRY_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <QtCore/QObject></span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <QtMvvmCore/ServiceRegistry></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <QtQml/QQmlEngine></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <QtQml/QQmlComponent></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#ifdef DOXYGEN_RUN</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">namespace </span><a class="code" href="namespacede_1_1skycoder42_1_1_qt_mvvm_1_1_core.html">de::skycoder42::QtMvvm::Core</a> {</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html"> 21</a></span> <span class="keyword">class </span><a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html">ServiceRegistry</a></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> #else</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> namespace <a class="code" href="namespace_qt_mvvm.html">QtMvvm</a> {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">class </span>QQmlServiceRegistry : <span class="keyword">public</span> <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  Q_OBJECT</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaa"> 32</a></span>  <span class="keyword">enum</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaa">DestructionScope</a> {</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa8c09aab62b425a0bd15c91f939de832a"> 33</a></span>  <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa8c09aab62b425a0bd15c91f939de832a">DestroyOnAppQuit</a> = <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa8c09aab62b425a0bd15c91f939de832a">ServiceRegistry::DestroyOnAppQuit</a>, </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa05e9854b5a048134cfeb59f9af0ca99e"> 34</a></span>  <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa05e9854b5a048134cfeb59f9af0ca99e">DestroyOnAppDestroy</a> = <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa05e9854b5a048134cfeb59f9af0ca99e">ServiceRegistry::DestroyOnAppDestroy</a>, </div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa6ed864a7910906ac42791b09dd76921e"> 35</a></span>  <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa6ed864a7910906ac42791b09dd76921e">DestroyOnRegistryDestroy</a> = <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa6ed864a7910906ac42791b09dd76921e">ServiceRegistry::DestroyOnRegistryDestroy</a>, </div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa3475008c7daa7f1e73da2f49288db205"> 36</a></span>  <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa3475008c7daa7f1e73da2f49288db205">DestroyNever</a> = <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa3475008c7daa7f1e73da2f49288db205">ServiceRegistry::DestroyNever</a> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  };</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  Q_ENUM(<a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaa">DestructionScope</a>)</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">explicit</span> QQmlServiceRegistry(<a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtqml/qtqml.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qqmlengine.html">QQmlEngine</a> *parent = <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  Q_INVOKABLE <span class="keywordtype">bool</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#a3b2d596b13d8b13f8230a576c34c5fdd">isRegistered</a>(<span class="keyword">const</span> <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &iid) <span class="keyword">const</span>;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  Q_INVOKABLE <span class="keywordtype">void</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#ad537012dccb353fefb09e58c33971504">registerObject</a>(<a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#af7eeca8258948859c432b4bab59a0831">service</a>, QtMvvm::QQmlServiceRegistry::DestructionScope scope = <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa8c09aab62b425a0bd15c91f939de832a">DestroyOnAppQuit</a>, <span class="keywordtype">bool</span> weak = <span class="keyword">false</span>);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  Q_INVOKABLE <span class="keywordtype">void</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#ad537012dccb353fefb09e58c33971504">registerObject</a>(<span class="keyword">const</span> <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &iid, <span class="keyword">const</span> <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtqml/qtqml.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qjsvalue.html">QJSValue</a> &<span class="keyword">function</span>, <span class="keywordtype">bool</span> weak = <span class="keyword">false</span>);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  Q_INVOKABLE <span class="keywordtype">void</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#ad537012dccb353fefb09e58c33971504">registerObject</a>(<span class="keyword">const</span> <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qurl.html">QUrl</a> &componentUrl, <span class="keywordtype">bool</span> weak = <span class="keyword">false</span>);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  Q_INVOKABLE <span class="keywordtype">void</span> <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#a6a58f9f633063246aa30a7611a532422">registerPlugin</a>(<span class="keyword">const</span> <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &iid,</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> pluginType = {},</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> pluginKey = {},</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaa">DestructionScope</a> scope = <a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa05e9854b5a048134cfeb59f9af0ca99e">DestroyOnAppDestroy</a>,</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">bool</span> weak = <span class="keyword">false</span>);</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  Q_INVOKABLE <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtautoupdater/qtautoupdater.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a> *<a class="code" href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#af7eeca8258948859c432b4bab59a0831">service</a>(<span class="keyword">const</span> <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtcore/qtcore.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qstring.html">QString</a> &iid);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="codeRef" target="_blank" doxygen="/home/sky/Qt/Docs/Qt-5.11.1/qtqml/qtqml.tags:https://doc.qt.io/qt-5/" href="https://doc.qt.io/qt-5/qqmlengine.html">QQmlEngine</a> *_engine;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> };</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> }</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor">#endif // QTMVVM_QQMLSERVICEREGISTRY_H</span></div><div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry_html_aaa4e84f7e3dc68b99ecba72d9ecf5aaaa05e9854b5a048134cfeb59f9af0ca99e"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa05e9854b5a048134cfeb59f9af0ca99e">de::skycoder42::QtMvvm::Core::ServiceRegistry::DestroyOnAppDestroy</a></div><div class="ttdoc">Destroy as soon as the QCoreApplication gets destroyed (typically end of main) </div><div class="ttdef"><b>Definition:</b> <a href="qqmlserviceregistry_8h_source.html#l00034">qqmlserviceregistry.h:34</a></div></div>
|
|
<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry_html_af7eeca8258948859c432b4bab59a0831"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#af7eeca8258948859c432b4bab59a0831">de::skycoder42::QtMvvm::Core::ServiceRegistry::service</a></div><div class="ttdeci">Q_INVOKABLE QObject * service(const QString &iid)</div><div class="ttdoc">Returns the service for the given iid. </div></div>
|
|
<div class="ttc" id="namespacede_1_1skycoder42_1_1_qt_mvvm_1_1_core_html"><div class="ttname"><a href="namespacede_1_1skycoder42_1_1_qt_mvvm_1_1_core.html">de::skycoder42::QtMvvm::Core</a></div><div class="ttdoc">The QML import for the QtMvvmCore QML module. </div><div class="ttdef"><b>Definition:</b> <a href="qqmlcoreapp_8h_source.html#l00009">qqmlcoreapp.h:9</a></div></div>
|
|
<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry_html_aaa4e84f7e3dc68b99ecba72d9ecf5aaaa8c09aab62b425a0bd15c91f939de832a"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa8c09aab62b425a0bd15c91f939de832a">de::skycoder42::QtMvvm::Core::ServiceRegistry::DestroyOnAppQuit</a></div><div class="ttdoc">Destroy when the QCoreApplication::aboutToQuit signal is emitted. </div><div class="ttdef"><b>Definition:</b> <a href="qqmlserviceregistry_8h_source.html#l00033">qqmlserviceregistry.h:33</a></div></div>
|
|
<div class="ttc" id="qqmlengine_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qqmlengine.html">QQmlEngine</a></div></div>
|
|
<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry_html"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html">de::skycoder42::QtMvvm::Core::ServiceRegistry</a></div><div class="ttdoc">A QML singleton to access some QtMvvm::ServiceRegistry functionality. </div><div class="ttdef"><b>Definition:</b> <a href="qqmlserviceregistry_8h_source.html#l00021">qqmlserviceregistry.h:21</a></div></div>
|
|
<div class="ttc" id="qstring_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qstring.html">QString</a></div></div>
|
|
<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry_html_aaa4e84f7e3dc68b99ecba72d9ecf5aaa"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaa">de::skycoder42::QtMvvm::Core::ServiceRegistry::DestructionScope</a></div><div class="ttdeci">DestructionScope</div><div class="ttdoc">A singleton to prepare services for dependency injection and to access them. </div><div class="ttdef"><b>Definition:</b> <a href="qqmlserviceregistry_8h_source.html#l00032">qqmlserviceregistry.h:32</a></div></div>
|
|
<div class="ttc" id="qjsvalue_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qjsvalue.html">QJSValue</a></div></div>
|
|
<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry_html_ad537012dccb353fefb09e58c33971504"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#ad537012dccb353fefb09e58c33971504">de::skycoder42::QtMvvm::Core::ServiceRegistry::registerObject</a></div><div class="ttdeci">Q_INVOKABLE void registerObject(QObject *service, QtMvvm::QQmlServiceRegistry::DestructionScope scope=DestroyOnAppQuit, bool weak=false)</div><div class="ttdoc">Register a service via an already existing instance. </div></div>
|
|
<div class="ttc" id="qurl_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/qurl.html">QUrl</a></div></div>
|
|
<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry_html_aaa4e84f7e3dc68b99ecba72d9ecf5aaaa6ed864a7910906ac42791b09dd76921e"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa6ed864a7910906ac42791b09dd76921e">de::skycoder42::QtMvvm::Core::ServiceRegistry::DestroyOnRegistryDestroy</a></div><div class="ttdoc">Destroy together with the service registry instance (static memory, unspecified order!) ...</div><div class="ttdef"><b>Definition:</b> <a href="qqmlserviceregistry_8h_source.html#l00035">qqmlserviceregistry.h:35</a></div></div>
|
|
<div class="ttc" id="class_q_object_html"><div class="ttname"><a href="https://doc.qt.io/qt-5/class_q_object.html">QObject</a></div></div>
|
|
<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry_html_aaa4e84f7e3dc68b99ecba72d9ecf5aaaa3475008c7daa7f1e73da2f49288db205"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#aaa4e84f7e3dc68b99ecba72d9ecf5aaaa3475008c7daa7f1e73da2f49288db205">de::skycoder42::QtMvvm::Core::ServiceRegistry::DestroyNever</a></div><div class="ttdoc">Never destroy the instance. </div><div class="ttdef"><b>Definition:</b> <a href="qqmlserviceregistry_8h_source.html#l00036">qqmlserviceregistry.h:36</a></div></div>
|
|
<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry_html_a3b2d596b13d8b13f8230a576c34c5fdd"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#a3b2d596b13d8b13f8230a576c34c5fdd">de::skycoder42::QtMvvm::Core::ServiceRegistry::isRegistered</a></div><div class="ttdeci">Q_INVOKABLE bool isRegistered(const QString &iid) const</div><div class="ttdoc">Checks if a given interface or service is already registered. </div></div>
|
|
<div class="ttc" id="namespace_qt_mvvm_html"><div class="ttname"><a href="namespace_qt_mvvm.html">QtMvvm</a></div><div class="ttdoc">The primary namespace of the QtMvvm library. </div><div class="ttdef"><b>Definition:</b> <a href="androidsettingsaccessor_8h_source.html#l00009">androidsettingsaccessor.h:9</a></div></div>
|
|
<div class="ttc" id="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry_html_a6a58f9f633063246aa30a7611a532422"><div class="ttname"><a href="classde_1_1skycoder42_1_1_qt_mvvm_1_1_core_1_1_service_registry.html#a6a58f9f633063246aa30a7611a532422">de::skycoder42::QtMvvm::Core::ServiceRegistry::registerPlugin</a></div><div class="ttdeci">Q_INVOKABLE void registerPlugin(const QString &iid, QString pluginType={}, QString pluginKey={}, DestructionScope scope=DestroyOnAppDestroy, bool weak=false)</div><div class="ttdoc">Register a service by an iid via specifing a plugin to be loaded. </div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Wed Aug 8 2018 19:15:45 for QtMvvm by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.14
|
|
</small></address>
|
|
</body>
|
|
</html>
|
|
|