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.
698 lines
95 KiB
698 lines
95 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: QtMvvm::ISettingsAccessor Class Reference</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="namespace_qt_mvvm.html">QtMvvm</a></li><li class="navelem"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html">ISettingsAccessor</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-slots">Public Slots</a> |
|
|
<a href="#signals">Signals</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="class_qt_mvvm_1_1_i_settings_accessor-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">QtMvvm::ISettingsAccessor Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>An interface to provide a generic way to access settings of any origin.
|
|
<a href="class_qt_mvvm_1_1_i_settings_accessor.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="isettingsaccessor_8h_source.html">isettingsaccessor.h</a>></code></p>
|
|
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
|
|
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for QtMvvm::ISettingsAccessor:</div>
|
|
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
|
|
<div class="center">
|
|
<img src="class_qt_mvvm_1_1_i_settings_accessor.png" usemap="#QtMvvm::ISettingsAccessor_map" alt=""/>
|
|
<map id="QtMvvm::ISettingsAccessor_map" name="QtMvvm::ISettingsAccessor_map">
|
|
<area 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" alt="QObject" shape="rect" coords="228,0,446,24"/>
|
|
<area href="class_qt_mvvm_1_1_android_settings_accessor.html" title="A wrapper around the android SharedPreferences API. " alt="QtMvvm::AndroidSettingsAccessor" shape="rect" coords="0,112,218,136"/>
|
|
<area href="class_qt_mvvm_1_1_data_sync_settings_accessor.html" title="A settings accessor implementation that allows to store and sync settings via datasync. " alt="QtMvvm::DataSyncSettingsAccessor" shape="rect" coords="228,112,446,136"/>
|
|
<area href="class_qt_mvvm_1_1_q_settings_accessor.html" title="A settings accessor implementation that wrapps QSettings. " alt="QtMvvm::QSettingsAccessor" shape="rect" coords="456,112,674,136"/>
|
|
</map>
|
|
</div></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
|
|
Public Slots</h2></td></tr>
|
|
<tr class="memitem:a3e322b7e806d84867b3a21028dcc0c57"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a3e322b7e806d84867b3a21028dcc0c57">sync</a> ()=0</td></tr>
|
|
<tr class="memdesc:a3e322b7e806d84867b3a21028dcc0c57"><td class="mdescLeft"> </td><td class="mdescRight">Synchronizes the settings to the disk or whatever is needed to permanently store them. <a href="#a3e322b7e806d84867b3a21028dcc0c57">More...</a><br /></td></tr>
|
|
<tr class="separator:a3e322b7e806d84867b3a21028dcc0c57"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
|
|
Signals</h2></td></tr>
|
|
<tr class="memitem:aa4b7f202e3a17227e6ebb1585948a7ed"><td class="memItemLeft" align="right" valign="top"><a id="aa4b7f202e3a17227e6ebb1585948a7ed"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#aa4b7f202e3a17227e6ebb1585948a7ed">entryChanged</a> (const <a class="elRef" 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> &key, const <a class="elRef" 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/qvariant.html">QVariant</a> &value)</td></tr>
|
|
<tr class="memdesc:aa4b7f202e3a17227e6ebb1585948a7ed"><td class="mdescLeft"> </td><td class="mdescRight">Is emitted whenever a settings value was changed, at least via this instance. <br /></td></tr>
|
|
<tr class="separator:aa4b7f202e3a17227e6ebb1585948a7ed"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2d3d6c82facfcf1782d2924e18854594"><td class="memItemLeft" align="right" valign="top"><a id="a2d3d6c82facfcf1782d2924e18854594"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a2d3d6c82facfcf1782d2924e18854594">entryRemoved</a> (const <a class="elRef" 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> &key)</td></tr>
|
|
<tr class="memdesc:a2d3d6c82facfcf1782d2924e18854594"><td class="mdescLeft"> </td><td class="mdescRight">Is emitted whenever a settings value was removed, at least via this instance. <br /></td></tr>
|
|
<tr class="separator:a2d3d6c82facfcf1782d2924e18854594"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a76e65d77ed0c0787ea4592862fa8c96c"><td class="memItemLeft" align="right" valign="top"><a id="a76e65d77ed0c0787ea4592862fa8c96c"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a76e65d77ed0c0787ea4592862fa8c96c">ISettingsAccessor</a> (<a class="elRef" 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="elRef" 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/qobject.html#parent">parent</a>=nullptr)</td></tr>
|
|
<tr class="memdesc:a76e65d77ed0c0787ea4592862fa8c96c"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br /></td></tr>
|
|
<tr class="separator:a76e65d77ed0c0787ea4592862fa8c96c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac57843f029b52ebe02bfa7a0a6c27fc3"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ac57843f029b52ebe02bfa7a0a6c27fc3">contains</a> (const <a class="elRef" 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> &key) const =0</td></tr>
|
|
<tr class="memdesc:ac57843f029b52ebe02bfa7a0a6c27fc3"><td class="mdescLeft"> </td><td class="mdescRight">Checks if a value is stored for the given key. <a href="#ac57843f029b52ebe02bfa7a0a6c27fc3">More...</a><br /></td></tr>
|
|
<tr class="separator:ac57843f029b52ebe02bfa7a0a6c27fc3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac3cda834c6c9ed5377443aa28c32f45d"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" 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/qvariant.html">QVariant</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ac3cda834c6c9ed5377443aa28c32f45d">load</a> (const <a class="elRef" 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> &key, const <a class="elRef" 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/qvariant.html">QVariant</a> &defaultValue={}) const =0</td></tr>
|
|
<tr class="memdesc:ac3cda834c6c9ed5377443aa28c32f45d"><td class="mdescLeft"> </td><td class="mdescRight">Loads the value for the given key from the settings. <a href="#ac3cda834c6c9ed5377443aa28c32f45d">More...</a><br /></td></tr>
|
|
<tr class="separator:ac3cda834c6c9ed5377443aa28c32f45d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ace9a0863e190c091a001fc1ff85e0930"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ace9a0863e190c091a001fc1ff85e0930">save</a> (const <a class="elRef" 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> &key, const <a class="elRef" 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/qvariant.html">QVariant</a> &value)=0</td></tr>
|
|
<tr class="memdesc:ace9a0863e190c091a001fc1ff85e0930"><td class="mdescLeft"> </td><td class="mdescRight">Stores the given value under the given key in the settings. <a href="#ace9a0863e190c091a001fc1ff85e0930">More...</a><br /></td></tr>
|
|
<tr class="separator:ace9a0863e190c091a001fc1ff85e0930"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9c2fe8dd7eaa0326fdb542d1219c7531"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a9c2fe8dd7eaa0326fdb542d1219c7531">remove</a> (const <a class="elRef" 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> &key)=0</td></tr>
|
|
<tr class="memdesc:a9c2fe8dd7eaa0326fdb542d1219c7531"><td class="mdescLeft"> </td><td class="mdescRight">Removes the key and all its subkeys from the settings. <a href="#a9c2fe8dd7eaa0326fdb542d1219c7531">More...</a><br /></td></tr>
|
|
<tr class="separator:a9c2fe8dd7eaa0326fdb542d1219c7531"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_class_q_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_q_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="target="_blank" https://doc.qt.io/qt-5/class_q_object.html">QObject</a></td></tr>
|
|
<tr class="memitem:metaObject inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="metaObject"></a>
|
|
virtual const <a class="elRef" 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/qmetaobject.html">QMetaObject</a> * </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#metaObject">metaObject</a> () const const</td></tr>
|
|
<tr class="separator:metaObject inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:qt_metacast inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="qt_metacast"></a>
|
|
virtual void * </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#qt_metacast">qt_metacast</a> (const char *)</td></tr>
|
|
<tr class="separator:qt_metacast inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:qt_metacall inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="qt_metacall"></a>
|
|
virtual int </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#qt_metacall">qt_metacall</a> (QMetaObject::Call, int, void **)</td></tr>
|
|
<tr class="separator:qt_metacall inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:QObject inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="QObject"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#QObject">QObject</a> (<a class="elRef" 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="elRef" 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/qobject.html#parent">parent</a>)</td></tr>
|
|
<tr class="separator:QObject inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:event inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="event"></a>
|
|
virtual bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#event">event</a> (<a class="elRef" 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/qevent.html">QEvent</a> *e)</td></tr>
|
|
<tr class="separator:event inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:eventFilter inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="eventFilter"></a>
|
|
virtual bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#eventFilter">eventFilter</a> (<a class="elRef" 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> *watched, <a class="elRef" 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/qevent.html">QEvent</a> *<a class="elRef" 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/qobject.html#event">event</a>)</td></tr>
|
|
<tr class="separator:eventFilter inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:objectName-prop inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="objectName-prop"></a>
|
|
<a class="elRef" 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> </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#objectName-prop">objectName</a> () const const</td></tr>
|
|
<tr class="separator:objectName-prop inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:objectName-prop inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="objectName-prop"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#objectName-prop">setObjectName</a> (const <a class="elRef" 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> &name)</td></tr>
|
|
<tr class="separator:objectName-prop inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:isWidgetType inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="isWidgetType"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#isWidgetType">isWidgetType</a> () const const</td></tr>
|
|
<tr class="separator:isWidgetType inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:isWindowType inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="isWindowType"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#isWindowType">isWindowType</a> () const const</td></tr>
|
|
<tr class="separator:isWindowType inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:signalsBlocked inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="signalsBlocked"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#signalsBlocked">signalsBlocked</a> () const const</td></tr>
|
|
<tr class="separator:signalsBlocked inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:blockSignals inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="blockSignals"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#blockSignals">blockSignals</a> (bool block)</td></tr>
|
|
<tr class="separator:blockSignals inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:thread inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="thread"></a>
|
|
<a class="elRef" 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/qthread.html">QThread</a> * </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#thread">thread</a> () const const</td></tr>
|
|
<tr class="separator:thread inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:moveToThread inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="moveToThread"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#moveToThread">moveToThread</a> (<a class="elRef" 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/qthread.html">QThread</a> *targetThread)</td></tr>
|
|
<tr class="separator:moveToThread inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:startTimer inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="startTimer"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#startTimer">startTimer</a> (int interval, Qt::TimerType timerType)</td></tr>
|
|
<tr class="separator:startTimer inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:startTimer-1 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="startTimer-1"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#startTimer-1">startTimer</a> (std::chrono::milliseconds time, Qt::TimerType timerType)</td></tr>
|
|
<tr class="separator:startTimer-1 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:killTimer inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="killTimer"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#killTimer">killTimer</a> (int id)</td></tr>
|
|
<tr class="separator:killTimer inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:findChild inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="findChild"></a>
|
|
T </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#findChild">findChild</a> (const <a class="elRef" 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> &name, <a class="elRef" 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/qt.html#FindChildOption-enum">Qt::FindChildOptions</a> options) const const</td></tr>
|
|
<tr class="separator:findChild inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:findChildren inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="findChildren"></a>
|
|
<a class="elRef" 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/qlist.html">QList</a>< T > </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#findChildren">findChildren</a> (const <a class="elRef" 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> &name, <a class="elRef" 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/qt.html#FindChildOption-enum">Qt::FindChildOptions</a> options) const const</td></tr>
|
|
<tr class="separator:findChildren inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:findChildren-1 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="findChildren-1"></a>
|
|
<a class="elRef" 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/qlist.html">QList</a>< T > </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#findChildren-1">findChildren</a> (const <a class="elRef" 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/qregexp.html">QRegExp</a> &regExp, <a class="elRef" 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/qt.html#FindChildOption-enum">Qt::FindChildOptions</a> options) const const</td></tr>
|
|
<tr class="separator:findChildren-1 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:findChildren-2 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="findChildren-2"></a>
|
|
<a class="elRef" 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/qlist.html">QList</a>< T > </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#findChildren-2">findChildren</a> (const <a class="elRef" 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/qregularexpression.html">QRegularExpression</a> &re, <a class="elRef" 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/qt.html#FindChildOption-enum">Qt::FindChildOptions</a> options) const const</td></tr>
|
|
<tr class="separator:findChildren-2 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:children inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="children"></a>
|
|
const QObjectList & </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#children">children</a> () const const</td></tr>
|
|
<tr class="separator:children inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:setParent inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="setParent"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#setParent">setParent</a> (<a class="elRef" 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="elRef" 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/qobject.html#parent">parent</a>)</td></tr>
|
|
<tr class="separator:setParent inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:installEventFilter inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="installEventFilter"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#installEventFilter">installEventFilter</a> (<a class="elRef" 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> *filterObj)</td></tr>
|
|
<tr class="separator:installEventFilter inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:removeEventFilter inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="removeEventFilter"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#removeEventFilter">removeEventFilter</a> (<a class="elRef" 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> *obj)</td></tr>
|
|
<tr class="separator:removeEventFilter inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect-2 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect-2"></a>
|
|
<a class="elRef" 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/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#connect-2">connect</a> (const <a class="elRef" 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="elRef" 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/qobject.html#sender">sender</a>, const char *signal, const char *method, Qt::ConnectionType type) const const</td></tr>
|
|
<tr class="separator:connect-2 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect-2 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect-2"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#disconnect-2">disconnect</a> (const char *signal, const <a class="elRef" 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> *receiver, const char *method) const const</td></tr>
|
|
<tr class="separator:disconnect-2 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect-3 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect-3"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#disconnect-3">disconnect</a> (const <a class="elRef" 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> *receiver, const char *method) const const</td></tr>
|
|
<tr class="separator:disconnect-3 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:dumpObjectTree-1 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="dumpObjectTree-1"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject-obsolete.html#dumpObjectTree-1">dumpObjectTree</a> ()</td></tr>
|
|
<tr class="separator:dumpObjectTree-1 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:dumpObjectInfo-1 inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="dumpObjectInfo-1"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject-obsolete.html#dumpObjectInfo-1">dumpObjectInfo</a> ()</td></tr>
|
|
<tr class="separator:dumpObjectInfo-1 inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:dumpObjectTree inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="dumpObjectTree"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#dumpObjectTree">dumpObjectTree</a> () const const</td></tr>
|
|
<tr class="separator:dumpObjectTree inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:dumpObjectInfo inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="dumpObjectInfo"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#dumpObjectInfo">dumpObjectInfo</a> () const const</td></tr>
|
|
<tr class="separator:dumpObjectInfo inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:setProperty inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="setProperty"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#setProperty">setProperty</a> (const char *name, const <a class="elRef" 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/qvariant.html">QVariant</a> &value)</td></tr>
|
|
<tr class="separator:setProperty inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:property inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="property"></a>
|
|
<a class="elRef" 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/qvariant.html">QVariant</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#property">property</a> (const char *name) const const</td></tr>
|
|
<tr class="separator:property inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:dynamicPropertyNames inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="dynamicPropertyNames"></a>
|
|
<a class="elRef" 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/qlist.html">QList</a>< <a class="elRef" 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/qbytearray.html">QByteArray</a> > </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#dynamicPropertyNames">dynamicPropertyNames</a> () const const</td></tr>
|
|
<tr class="separator:dynamicPropertyNames inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:destroyed inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="destroyed"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#destroyed">destroyed</a> (<a class="elRef" 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> *obj)</td></tr>
|
|
<tr class="separator:destroyed inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:objectNameChanged inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="objectNameChanged"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#objectNameChanged">objectNameChanged</a> (const <a class="elRef" 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> &<a class="elRef" 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/qobject.html#objectName-prop">objectName</a>)</td></tr>
|
|
<tr class="separator:objectNameChanged inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:parent inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="parent"></a>
|
|
<a class="elRef" 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> * </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#parent">parent</a> () const const</td></tr>
|
|
<tr class="separator:parent inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:inherits inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="inherits"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#inherits">inherits</a> (const char *className) const const</td></tr>
|
|
<tr class="separator:inherits inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:deleteLater inherit pub_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="deleteLater"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#deleteLater">deleteLater</a> ()</td></tr>
|
|
<tr class="separator:deleteLater inherit pub_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:ac6bafd34e05d7def5fbe11b8f86d0256"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ac6bafd34e05d7def5fbe11b8f86d0256"><td class="memTemplItemLeft" align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ac6bafd34e05d7def5fbe11b8f86d0256">setDefaultAccessor</a> ()</td></tr>
|
|
<tr class="separator:ac6bafd34e05d7def5fbe11b8f86d0256"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a473d87e32c882bb02d58a1512980c93a"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a473d87e32c882bb02d58a1512980c93a">setDefaultAccessor</a> (int typeId)</td></tr>
|
|
<tr class="separator:a473d87e32c882bb02d58a1512980c93a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a85f5312dcfb58bd332b02fe9c51051e1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html">ISettingsAccessor</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a85f5312dcfb58bd332b02fe9c51051e1">createDefaultAccessor</a> (<a class="elRef" 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="elRef" 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/qobject.html#parent">parent</a>=nullptr)</td></tr>
|
|
<tr class="memdesc:a85f5312dcfb58bd332b02fe9c51051e1"><td class="mdescLeft"> </td><td class="mdescRight">Create a new instance of the default accessor type. <a href="#a85f5312dcfb58bd332b02fe9c51051e1">More...</a><br /></td></tr>
|
|
<tr class="separator:a85f5312dcfb58bd332b02fe9c51051e1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_static_methods_class_q_object"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_q_object')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="target="_blank" https://doc.qt.io/qt-5/class_q_object.html">QObject</a></td></tr>
|
|
<tr class="memitem:tr inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="tr"></a>
|
|
<a class="elRef" 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> </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#tr">tr</a> (const char *sourceText, const char *disambiguation, int n)</td></tr>
|
|
<tr class="separator:tr inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:trUtf8 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="trUtf8"></a>
|
|
<a class="elRef" 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> </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject-obsolete.html#trUtf8">trUtf8</a> (const char *sourceText, const char *disambiguation, int n)</td></tr>
|
|
<tr class="separator:trUtf8 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect"></a>
|
|
<a class="elRef" 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/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#connect">connect</a> (const <a class="elRef" 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="elRef" 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/qobject.html#sender">sender</a>, const char *signal, const <a class="elRef" 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> *receiver, const char *method, Qt::ConnectionType type)</td></tr>
|
|
<tr class="separator:connect inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect-1 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect-1"></a>
|
|
<a class="elRef" 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/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#connect-1">connect</a> (const <a class="elRef" 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="elRef" 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/qobject.html#sender">sender</a>, const <a class="elRef" 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/qmetamethod.html">QMetaMethod</a> &signal, const <a class="elRef" 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> *receiver, const <a class="elRef" 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/qmetamethod.html">QMetaMethod</a> &method, Qt::ConnectionType type)</td></tr>
|
|
<tr class="separator:connect-1 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect-3 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect-3"></a>
|
|
<a class="elRef" 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/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#connect-3">connect</a> (const <a class="elRef" 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="elRef" 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/qobject.html#sender">sender</a>, PointerToMemberFunction signal, const <a class="elRef" 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> *receiver, PointerToMemberFunction method, Qt::ConnectionType type)</td></tr>
|
|
<tr class="separator:connect-3 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect-4 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect-4"></a>
|
|
<a class="elRef" 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/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#connect-4">connect</a> (const <a class="elRef" 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="elRef" 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/qobject.html#sender">sender</a>, PointerToMemberFunction signal, Functor functor)</td></tr>
|
|
<tr class="separator:connect-4 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connect-5 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connect-5"></a>
|
|
<a class="elRef" 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/qmetaobject-connection.html">QMetaObject::Connection</a> </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#connect-5">connect</a> (const <a class="elRef" 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="elRef" 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/qobject.html#sender">sender</a>, PointerToMemberFunction signal, const <a class="elRef" 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> *context, Functor functor, Qt::ConnectionType type)</td></tr>
|
|
<tr class="separator:connect-5 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#disconnect">disconnect</a> (const <a class="elRef" 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="elRef" 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/qobject.html#sender">sender</a>, const char *signal, const <a class="elRef" 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> *receiver, const char *method)</td></tr>
|
|
<tr class="separator:disconnect inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect-1 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect-1"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#disconnect-1">disconnect</a> (const <a class="elRef" 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="elRef" 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/qobject.html#sender">sender</a>, const <a class="elRef" 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/qmetamethod.html">QMetaMethod</a> &signal, const <a class="elRef" 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> *receiver, const <a class="elRef" 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/qmetamethod.html">QMetaMethod</a> &method)</td></tr>
|
|
<tr class="separator:disconnect-1 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect-4 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect-4"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#disconnect-4">disconnect</a> (const <a class="elRef" 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/qmetaobject-connection.html">QMetaObject::Connection</a> &connection)</td></tr>
|
|
<tr class="separator:disconnect-4 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnect-5 inherit pub_static_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnect-5"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#disconnect-5">disconnect</a> (const <a class="elRef" 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="elRef" 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/qobject.html#sender">sender</a>, PointerToMemberFunction signal, const <a class="elRef" 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> *receiver, PointerToMemberFunction method)</td></tr>
|
|
<tr class="separator:disconnect-5 inherit pub_static_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
|
Additional Inherited Members</h2></td></tr>
|
|
<tr class="inherit_header pro_methods_class_q_object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_q_object')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="target="_blank" https://doc.qt.io/qt-5/class_q_object.html">QObject</a></td></tr>
|
|
<tr class="memitem:sender inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="sender"></a>
|
|
<a class="elRef" 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> * </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#sender">sender</a> () const const</td></tr>
|
|
<tr class="separator:sender inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:senderSignalIndex inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="senderSignalIndex"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#senderSignalIndex">senderSignalIndex</a> () const const</td></tr>
|
|
<tr class="separator:senderSignalIndex inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:receivers inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="receivers"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#receivers">receivers</a> (const char *signal) const const</td></tr>
|
|
<tr class="separator:receivers inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:isSignalConnected inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="isSignalConnected"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#isSignalConnected">isSignalConnected</a> (const <a class="elRef" 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/qmetamethod.html">QMetaMethod</a> &signal) const const</td></tr>
|
|
<tr class="separator:isSignalConnected inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:timerEvent inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="timerEvent"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#timerEvent">timerEvent</a> (<a class="elRef" 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/qtimerevent.html">QTimerEvent</a> *<a class="elRef" 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/qobject.html#event">event</a>)</td></tr>
|
|
<tr class="separator:timerEvent inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:childEvent inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="childEvent"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#childEvent">childEvent</a> (<a class="elRef" 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/qchildevent.html">QChildEvent</a> *<a class="elRef" 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/qobject.html#event">event</a>)</td></tr>
|
|
<tr class="separator:childEvent inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:customEvent inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="customEvent"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#customEvent">customEvent</a> (<a class="elRef" 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/qevent.html">QEvent</a> *<a class="elRef" 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/qobject.html#event">event</a>)</td></tr>
|
|
<tr class="separator:customEvent inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:connectNotify inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="connectNotify"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#connectNotify">connectNotify</a> (const <a class="elRef" 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/qmetamethod.html">QMetaMethod</a> &signal)</td></tr>
|
|
<tr class="separator:connectNotify inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:disconnectNotify inherit pro_methods_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="disconnectNotify"></a>
|
|
virtual void </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#disconnectNotify">disconnectNotify</a> (const <a class="elRef" 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/qmetamethod.html">QMetaMethod</a> &signal)</td></tr>
|
|
<tr class="separator:disconnectNotify inherit pro_methods_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header properties_class_q_object"><td colspan="2" onclick="javascript:toggleInherit('properties_class_q_object')"><img src="closed.png" alt="-"/> Properties inherited from <a class="el" href="target="_blank" https://doc.qt.io/qt-5/class_q_object.html">QObject</a></td></tr>
|
|
<tr class="memitem:objectName-prop inherit properties_class_q_object"><td class="memItemLeft" align="right" valign="top"><a id="objectName-prop"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="elRef" 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/qobject.html#objectName-prop">objectName</a></td></tr>
|
|
<tr class="separator:objectName-prop inherit properties_class_q_object"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>An interface to provide a generic way to access settings of any origin. </p>
|
|
<p>This class is used by the <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html" title="A ViewModel for a generic settings dialog based of an XML settings file. ">SettingsViewModel</a> and the <a class="el" href="settings_generator.html">qsettingsgenerator</a> to access settings. The interface is meant to be used as proxy for some kind of settings backend (like <a class="elRef" 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/qsettings.html">QSettings</a>), so access is kept generic and you can decide to use a different storage if needed. While this class can be used directly, it is dsigned to only be used as backend for a settings viewmodel or a generated settings instance, and thus lacks many "comfort" methods one would otherwise expect.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>All the semantincs desribed below, except for the change signals, are exactly the same as for <a class="elRef" 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/qsettings.html">QSettings</a>, as this interface is modeled after <a class="elRef" 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/qsettings.html">QSettings</a>, in other words, the same rules for keys and values as for <a class="elRef" 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/qsettings.html">QSettings</a> apply to the methods of this interface.</dd></dl>
|
|
<h1><a class="anchor" id="ISettingsAccessor_keys"></a>
|
|
Semantics of keys</h1>
|
|
<p>Keys follow the following semantics. All keys are of the format <code>group/subgroup/key</code>. Keys may or may not be case sensitive, depending on the plattform. The best approach is to assume keys are case insensitive when storing, but case sensitive when loading. While the keys are seperated into groups and keys, all groups can also serve as keys, i.e. <code>group/subgroup</code> is a valid key as well.</p>
|
|
<h1><a class="anchor" id="ISettingsAccessor_storing"></a>
|
|
Storing data</h1>
|
|
<p>You can assume that data passed to <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ace9a0863e190c091a001fc1ff85e0930" title="Stores the given value under the given key in the settings. ">save()</a> is serializable via <a class="elRef" 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/qdatastream.html">QDataStream</a>. In other words, to convert the variant to binary data, you can simply use operator<< and operator>> of the <a class="elRef" 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/qvariant.html">QVariant</a>. Also, just like with <a class="elRef" 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/qsettings.html">QSettings</a>, the saved data does not have to retain the type. The only condition is, that whatever you <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ac3cda834c6c9ed5377443aa28c32f45d" title="Loads the value for the given key from the settings. ">load()</a> for the same key as used for storing must be convertible to the same type as the variant, that was passed to the <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ace9a0863e190c091a001fc1ff85e0930" title="Stores the given value under the given key in the settings. ">save()</a> method.</p>
|
|
<p>Finally, saving data via this method does not have to immediatly store it permanently. However, calling <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ac3cda834c6c9ed5377443aa28c32f45d" title="Loads the value for the given key from the settings. ">load()</a> with the same key right after <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ace9a0863e190c091a001fc1ff85e0930" title="Stores the given value under the given key in the settings. ">save()</a> must always return the same value as passed to it. Permanent storing can be done asynchronously, but should happen automatically without to much time passing after the <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ace9a0863e190c091a001fc1ff85e0930" title="Stores the given value under the given key in the settings. ">save()</a> (or <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a9c2fe8dd7eaa0326fdb542d1219c7531" title="Removes the key and all its subkeys from the settings. ">remove()</a>), and must always happen before the destruction of this object. Furthermore, users can use the <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a3e322b7e806d84867b3a21028dcc0c57" title="Synchronizes the settings to the disk or whatever is needed to permanently store them. ">sync()</a> method to immediatly store data permanently and load all changes done externally.</p>
|
|
<h1><a class="anchor" id="ISettingsAccessor_signals"></a>
|
|
Change signals</h1>
|
|
<p>Another specialty of this class are the change signals. They must be emitted whenever <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ace9a0863e190c091a001fc1ff85e0930" title="Stores the given value under the given key in the settings. ">save()</a> or <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a9c2fe8dd7eaa0326fdb542d1219c7531" title="Removes the key and all its subkeys from the settings. ">remove()</a> are called, to ensure at least changes done within the same instance trigger the according change signals. Changes done externally should lead to change signals, but don't have to, if not supported. For example, the <a class="el" href="class_qt_mvvm_1_1_data_sync_settings_accessor.html" title="A settings accessor implementation that allows to store and sync settings via datasync. ">DataSyncSettingsAccessor</a> can indeed detect changes as they occur on other instances or externally, and thus emits the signals. <a class="elRef" 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/qsettings.html">QSettings</a> however does not support change signals of any kind, and thus external changes do change the data that can be loaded, but do not emit any signals.</p>
|
|
<h1><a class="anchor" id="ISettingsAccessor_impl"></a>
|
|
Available implementations</h1>
|
|
<p>Currently, the following backends are supported:</p>
|
|
<ul>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_q_settings_accessor.html" title="A settings accessor implementation that wrapps QSettings. ">QSettingsAccessor</a>: Wraps <a class="elRef" 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/qsettings.html">QSettings</a></li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_data_sync_settings_accessor.html" title="A settings accessor implementation that allows to store and sync settings via datasync. ">DataSyncSettingsAccessor</a>: Part of mvvm datasync core, allows to store and sync settings via datasync</li>
|
|
<li><a class="el" href="class_qt_mvvm_1_1_android_settings_accessor.html" title="A wrapper around the android SharedPreferences API. ">AndroidSettingsAccessor</a>: Wraps the SharedPreferences of the android API</li>
|
|
</ul>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="isettingsaccessor_8h.html#a3dd9a77077df5be01f3419b4dded11a9" title="The IID of the QtMvvm::IPresenter class. ">QtMvvm_ISettingsAccessorIID</a>, <a class="el" href="class_qt_mvvm_1_1_q_settings_accessor.html" title="A settings accessor implementation that wrapps QSettings. ">QSettingsAccessor</a>, <a class="el" href="class_qt_mvvm_1_1_data_sync_settings_accessor.html" title="A settings accessor implementation that allows to store and sync settings via datasync. ">DataSyncSettingsAccessor</a>, <a class="el" href="class_qt_mvvm_1_1_android_settings_accessor.html" title="A wrapper around the android SharedPreferences API. ">AndroidSettingsAccessor</a>, <a class="el" href="class_qt_mvvm_1_1_settings_view_model.html" title="A ViewModel for a generic settings dialog based of an XML settings file. ">SettingsViewModel</a>, <a class="el" href="class_qt_mvvm_1_1_data_sync_settings_view_model.html" title="An extension of the normal settings viewmodel with the DataSyncSettingsAccessor as accessor...">DataSyncSettingsViewModel</a>, <a class="el" href="settings_generator.html">The qsettingsgenerator Tool</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="isettingsaccessor_8h_source.html#l00015">15</a> of file <a class="el" href="isettingsaccessor_8h_source.html">isettingsaccessor.h</a>.</p>
|
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="ac57843f029b52ebe02bfa7a0a6c27fc3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac57843f029b52ebe02bfa7a0a6c27fc3">◆ </a></span>contains()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::ISettingsAccessor::contains </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="elRef" 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> & </td>
|
|
<td class="paramname"><em>key</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Checks if a value is stored for the given key. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td>The key of the settings entry to be checked for existance </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true, if a value for that key was stored, false if not</dd></dl>
|
|
<p>This should only check for values, not for groups, i.e. if key referes to a group that has child keys, but no value by itself, you should still return false.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ac3cda834c6c9ed5377443aa28c32f45d" title="Loads the value for the given key from the settings. ">ISettingsAccessor::load</a> </dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="class_qt_mvvm_1_1_android_settings_accessor.html#a9ee66ef63e1184c6ee579941c1244e5c">QtMvvm::AndroidSettingsAccessor</a>, <a class="el" href="class_qt_mvvm_1_1_data_sync_settings_accessor.html#a9dcbae1f1c2bbabc542ce7217ca5a0e0">QtMvvm::DataSyncSettingsAccessor</a>, and <a class="el" href="class_qt_mvvm_1_1_q_settings_accessor.html#af56acad8a73e1f41051bc41008af2c79">QtMvvm::QSettingsAccessor</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a85f5312dcfb58bd332b02fe9c51051e1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a85f5312dcfb58bd332b02fe9c51051e1">◆ </a></span>createDefaultAccessor()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::ISettingsAccessor::createDefaultAccessor </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" 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> * </td>
|
|
<td class="paramname"><em>parent</em> = <code>nullptr</code></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Create a new instance of the default accessor type. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>The parent object to be passed to to accessor constructor </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A newly created instance of the default accessor type, or nullptr</dd></dl>
|
|
<p>Constructs and returns a new instance of the default accessor type. The default type is <a class="el" href="class_qt_mvvm_1_1_q_settings_accessor.html" title="A settings accessor implementation that wrapps QSettings. ">QSettingsAccessor</a>, but can be overwritten via <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ac6bafd34e05d7def5fbe11b8f86d0256">setDefaultAccessor()</a>. If the type set like that is invalid or cannot be dynamically constructor, nullptr can be returned.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ac6bafd34e05d7def5fbe11b8f86d0256">ISettingsAccessor::setDefaultAccessor</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac3cda834c6c9ed5377443aa28c32f45d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac3cda834c6c9ed5377443aa28c32f45d">◆ </a></span>load()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::ISettingsAccessor::load </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="elRef" 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> & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="elRef" 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/qvariant.html">QVariant</a> & </td>
|
|
<td class="paramname"><em>defaultValue</em> = <code>{}</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Loads the value for the given key from the settings. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td>The key of the settings entry to be loaded </td></tr>
|
|
<tr><td class="paramname">defaultValue</td><td>A alternative value to be returned if there is no data stored for that key </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The data loaded for the key, or the default value</dd></dl>
|
|
<p>If the given value does exist, it should be loaded and returned. If the is on data stored for that key, simply return whatever is passed as the default value.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ISettingsAccessor_storing">Storing data</a>, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ac57843f029b52ebe02bfa7a0a6c27fc3" title="Checks if a value is stored for the given key. ">ISettingsAccessor::contains</a>, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ace9a0863e190c091a001fc1ff85e0930" title="Stores the given value under the given key in the settings. ">ISettingsAccessor::save</a> </dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="class_qt_mvvm_1_1_android_settings_accessor.html#afc4288378756ae54f0f88524428b4e27">QtMvvm::AndroidSettingsAccessor</a>, <a class="el" href="class_qt_mvvm_1_1_data_sync_settings_accessor.html#a8eb38678ce8903e2b8eda844877071f6">QtMvvm::DataSyncSettingsAccessor</a>, and <a class="el" href="class_qt_mvvm_1_1_q_settings_accessor.html#a0ce4f634a13d52f9499ad5e3ee957a36">QtMvvm::QSettingsAccessor</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9c2fe8dd7eaa0326fdb542d1219c7531"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9c2fe8dd7eaa0326fdb542d1219c7531">◆ </a></span>remove()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::ISettingsAccessor::remove </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="elRef" 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> & </td>
|
|
<td class="paramname"><em>key</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Removes the key and all its subkeys from the settings. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td>The key of the settings entry to be removed</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>This method should remove the given key and all of its subkeys. If for example the settings contained the values <code>group/subgroup</code> and <code>group/subgroup/key</code>, after this method, both must have been removed. Permanent storing is done asynchronously, but can be forced via <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a3e322b7e806d84867b3a21028dcc0c57" title="Synchronizes the settings to the disk or whatever is needed to permanently store them. ">sync()</a>.</p>
|
|
<p>Any implementation of this method <em>must</em> emit the <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a2d3d6c82facfcf1782d2924e18854594" title="Is emitted whenever a settings value was removed, at least via this instance. ">entryRemoved()</a> signal for <b>all</b> the removed entries. I.e. for the example above, it must be emitted for both, <code>group/subgroup</code> and <code>group/subgroup/key</code>.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ISettingsAccessor_storing">Storing data</a>, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a2d3d6c82facfcf1782d2924e18854594" title="Is emitted whenever a settings value was removed, at least via this instance. ">ISettingsAccessor::entryRemoved</a>, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ace9a0863e190c091a001fc1ff85e0930" title="Stores the given value under the given key in the settings. ">ISettingsAccessor::save</a>, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a3e322b7e806d84867b3a21028dcc0c57" title="Synchronizes the settings to the disk or whatever is needed to permanently store them. ">ISettingsAccessor::sync</a> </dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="class_qt_mvvm_1_1_android_settings_accessor.html#a7f559355cb9e326b3834c87457d0a00c">QtMvvm::AndroidSettingsAccessor</a>, <a class="el" href="class_qt_mvvm_1_1_data_sync_settings_accessor.html#a4c3d4d2a360aa4dd2db59361ebcbdf55">QtMvvm::DataSyncSettingsAccessor</a>, and <a class="el" href="class_qt_mvvm_1_1_q_settings_accessor.html#a383b9b82a8d6fc64f94359d6069e2776">QtMvvm::QSettingsAccessor</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ace9a0863e190c091a001fc1ff85e0930"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ace9a0863e190c091a001fc1ff85e0930">◆ </a></span>save()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::ISettingsAccessor::save </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="elRef" 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> & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="elRef" 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/qvariant.html">QVariant</a> & </td>
|
|
<td class="paramname"><em>value</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Stores the given value under the given key in the settings. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td>The key of the settings entry to be saved </td></tr>
|
|
<tr><td class="paramname">value</td><td>The data to be stored under that key</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Should simply store the passed data under the given key. You dont have to check if the variant is actually serializable, as the meta system will automatically warn the user if thats not the case. Permanent storing is done asynchronously, but can be forced via <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a3e322b7e806d84867b3a21028dcc0c57" title="Synchronizes the settings to the disk or whatever is needed to permanently store them. ">sync()</a>.</p>
|
|
<p>Any implementation of this method <em>must</em> emit the <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#aa4b7f202e3a17227e6ebb1585948a7ed" title="Is emitted whenever a settings value was changed, at least via this instance. ">entryChanged()</a> signal with the passed data and key.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ISettingsAccessor_storing">Storing data</a>, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#aa4b7f202e3a17227e6ebb1585948a7ed" title="Is emitted whenever a settings value was changed, at least via this instance. ">ISettingsAccessor::entryChanged</a>, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ac3cda834c6c9ed5377443aa28c32f45d" title="Loads the value for the given key from the settings. ">ISettingsAccessor::load</a>, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a9c2fe8dd7eaa0326fdb542d1219c7531" title="Removes the key and all its subkeys from the settings. ">ISettingsAccessor::remove</a>, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a3e322b7e806d84867b3a21028dcc0c57" title="Synchronizes the settings to the disk or whatever is needed to permanently store them. ">ISettingsAccessor::sync</a> </dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="class_qt_mvvm_1_1_android_settings_accessor.html#aa13ba65126cf3518a352b360b90b2ec2">QtMvvm::AndroidSettingsAccessor</a>, <a class="el" href="class_qt_mvvm_1_1_data_sync_settings_accessor.html#a65159ee7ea691847f3631800e600f25b">QtMvvm::DataSyncSettingsAccessor</a>, and <a class="el" href="class_qt_mvvm_1_1_q_settings_accessor.html#aa6d19849dd2371dc6b38254637d2767e">QtMvvm::QSettingsAccessor</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac6bafd34e05d7def5fbe11b8f86d0256"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac6bafd34e05d7def5fbe11b8f86d0256">◆ </a></span>setDefaultAccessor() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::ISettingsAccessor::setDefaultAccessor </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>The type to be registered as the default type. Must implement <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html" title="An interface to provide a generic way to access settings of any origin. ">ISettingsAccessor</a></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>After setting the type via this method, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a85f5312dcfb58bd332b02fe9c51051e1" title="Create a new instance of the default accessor type. ">createDefaultAccessor()</a> will create instances of that type when called.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>In order for this to work, the passed type must have an invokable constructor, i.e. <div class="fragment"><div class="line">Q_INVOKABLE MySettingsAccessor(<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="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/qobject.html#parent">parent</a> = <span class="keyword">nullptr</span>);</div></div><!-- fragment --></dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a85f5312dcfb58bd332b02fe9c51051e1" title="Create a new instance of the default accessor type. ">ISettingsAccessor::createDefaultAccessor</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="isettingsaccessor_8h_source.html#l00057">57</a> of file <a class="el" href="isettingsaccessor_8h_source.html">isettingsaccessor.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a473d87e32c882bb02d58a1512980c93a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a473d87e32c882bb02d58a1512980c93a">◆ </a></span>setDefaultAccessor() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::ISettingsAccessor::setDefaultAccessor </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>typeId</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p></p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">typeId</td><td>The typeId to be registered as the default type. Must implement <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html" title="An interface to provide a generic way to access settings of any origin. ">ISettingsAccessor</a></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>After setting the type via this method, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a85f5312dcfb58bd332b02fe9c51051e1" title="Create a new instance of the default accessor type. ">createDefaultAccessor()</a> will create instances of that type when called.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>In order for this to work, the passed type must have an invokable constructor, i.e. <div class="fragment"><div class="line">Q_INVOKABLE MySettingsAccessor(<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="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/qobject.html#parent">parent</a> = <span class="keyword">nullptr</span>);</div></div><!-- fragment --></dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a85f5312dcfb58bd332b02fe9c51051e1" title="Create a new instance of the default accessor type. ">ISettingsAccessor::createDefaultAccessor</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3e322b7e806d84867b3a21028dcc0c57"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3e322b7e806d84867b3a21028dcc0c57">◆ </a></span>sync</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QtMvvm::ISettingsAccessor::sync </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span><span class="mlabel">slot</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Synchronizes the settings to the disk or whatever is needed to permanently store them. </p>
|
|
<p>You can call this method to immediatly store any changed data to permanent store. This exists because typically, calls to <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ace9a0863e190c091a001fc1ff85e0930" title="Stores the given value under the given key in the settings. ">save()</a> and <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a9c2fe8dd7eaa0326fdb542d1219c7531" title="Removes the key and all its subkeys from the settings. ">remove()</a> only "cache" the changes, and then later write them to the permanent store in a single transaction, as this can be an expensive operation. Normally, you don't have to care about this, as this happens automatically, but sometimes you might want to manually perform this step. Thats what this method is for.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#ace9a0863e190c091a001fc1ff85e0930" title="Stores the given value under the given key in the settings. ">ISettingsAccessor::save</a>, <a class="el" href="class_qt_mvvm_1_1_i_settings_accessor.html#a9c2fe8dd7eaa0326fdb542d1219c7531" title="Removes the key and all its subkeys from the settings. ">ISettingsAccessor::remove</a>, <a class="elRef" 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/qsettings.html#sync">QSettings::sync</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li><a class="el" href="isettingsaccessor_8h_source.html">isettingsaccessor.h</a></li>
|
|
<li>isettingsaccessor.dox</li>
|
|
</ul>
|
|
</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>
|
|
|