Migration of QtMvvm from github
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.
 
 
 
 
 

298 lines
26 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::DataSyncSettingsEntry 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
&#160;<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&amp;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&amp;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="struct_qt_mvvm_1_1_data_sync_settings_entry.html">DataSyncSettingsEntry</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="struct_qt_mvvm_1_1_data_sync_settings_entry-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">QtMvvm::DataSyncSettingsEntry Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A class used with 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> to store and sync generic settings.
<a href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="datasyncsettingsentry_8h_source.html">datasyncsettingsentry.h</a>&gt;</code></p>
<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:a16478f6aa453ec54a69b6dbf8387c57f"><td class="memItemLeft" align="right" valign="top"><a id="a16478f6aa453ec54a69b6dbf8387c57f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a16478f6aa453ec54a69b6dbf8387c57f">DataSyncSettingsEntry</a> (const <a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html">DataSyncSettingsEntry</a> &amp;other)</td></tr>
<tr class="memdesc:a16478f6aa453ec54a69b6dbf8387c57f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:a16478f6aa453ec54a69b6dbf8387c57f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27819955e9c6bd30ed5aae6b4b4c0dfb"><td class="memItemLeft" align="right" valign="top"><a id="a27819955e9c6bd30ed5aae6b4b4c0dfb"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a27819955e9c6bd30ed5aae6b4b4c0dfb">DataSyncSettingsEntry</a> (<a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html">DataSyncSettingsEntry</a> &amp;&amp;other) noexcept</td></tr>
<tr class="memdesc:a27819955e9c6bd30ed5aae6b4b4c0dfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor. <br /></td></tr>
<tr class="separator:a27819955e9c6bd30ed5aae6b4b4c0dfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4667d4aeec4bba12c5c4940de024a5e"><td class="memItemLeft" align="right" valign="top"><a id="ac4667d4aeec4bba12c5c4940de024a5e"></a>
<a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html">DataSyncSettingsEntry</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#ac4667d4aeec4bba12c5c4940de024a5e">operator=</a> (const <a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html">DataSyncSettingsEntry</a> &amp;other)</td></tr>
<tr class="memdesc:ac4667d4aeec4bba12c5c4940de024a5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy assignment operator. <br /></td></tr>
<tr class="separator:ac4667d4aeec4bba12c5c4940de024a5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af361d733db86036f852241c6e52b68bf"><td class="memItemLeft" align="right" valign="top"><a id="af361d733db86036f852241c6e52b68bf"></a>
<a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html">DataSyncSettingsEntry</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#af361d733db86036f852241c6e52b68bf">operator=</a> (<a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html">DataSyncSettingsEntry</a> &amp;&amp;other) noexcept</td></tr>
<tr class="memdesc:af361d733db86036f852241c6e52b68bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment operator. <br /></td></tr>
<tr class="separator:af361d733db86036f852241c6e52b68bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa22b1a76d52a581d05bdf7c6a4bcfe45"><td class="memItemLeft" align="right" valign="top"><a id="aa22b1a76d52a581d05bdf7c6a4bcfe45"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#aa22b1a76d52a581d05bdf7c6a4bcfe45">DataSyncSettingsEntry</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> <a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#aad61db86454bd92167b9c0b3e5272ed0">key</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> <a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a3f36f030ed6cfc13720800ca8559c0ec">value</a>)</td></tr>
<tr class="memdesc:aa22b1a76d52a581d05bdf7c6a4bcfe45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor, takes a key and value. <br /></td></tr>
<tr class="separator:aa22b1a76d52a581d05bdf7c6a4bcfe45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3117c80c0e51b659599080ed93fbb5c4"><td class="memTemplParams" colspan="2"><a id="a3117c80c0e51b659599080ed93fbb5c4"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a3117c80c0e51b659599080ed93fbb5c4"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a3117c80c0e51b659599080ed93fbb5c4">DataSyncSettingsEntry</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> <a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#aad61db86454bd92167b9c0b3e5272ed0">key</a>, const T &amp;<a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a3f36f030ed6cfc13720800ca8559c0ec">value</a>)</td></tr>
<tr class="memdesc:a3117c80c0e51b659599080ed93fbb5c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor, takes a key and value. <br /></td></tr>
<tr class="separator:a3117c80c0e51b659599080ed93fbb5c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4d74f4c42fb24b2eb09091b94bfa3da"><td class="memItemLeft" align="right" valign="top"><a id="aa4d74f4c42fb24b2eb09091b94bfa3da"></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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#aa4d74f4c42fb24b2eb09091b94bfa3da">key</a> () const</td></tr>
<tr class="memdesc:aa4d74f4c42fb24b2eb09091b94bfa3da"><td class="mdescLeft">&#160;</td><td class="mdescRight">READ accessor for key. <br /></td></tr>
<tr class="separator:aa4d74f4c42fb24b2eb09091b94bfa3da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f8b85e8e28af3d3aff4d5e90e5ddc91"><td class="memItemLeft" align="right" valign="top"><a id="a7f8b85e8e28af3d3aff4d5e90e5ddc91"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a7f8b85e8e28af3d3aff4d5e90e5ddc91">dataVersion</a> () const</td></tr>
<tr class="memdesc:a7f8b85e8e28af3d3aff4d5e90e5ddc91"><td class="mdescLeft">&#160;</td><td class="mdescRight">READ accessor for dataVersion. <br /></td></tr>
<tr class="separator:a7f8b85e8e28af3d3aff4d5e90e5ddc91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a82e282dfa962fb1d67a7439ebdbb3c"><td class="memItemLeft" align="right" valign="top"><a id="a7a82e282dfa962fb1d67a7439ebdbb3c"></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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a7a82e282dfa962fb1d67a7439ebdbb3c">value</a> () const</td></tr>
<tr class="memdesc:a7a82e282dfa962fb1d67a7439ebdbb3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">READ accessor for variantValue. <br /></td></tr>
<tr class="separator:a7a82e282dfa962fb1d67a7439ebdbb3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c9f5d252b5836a7722861a3ca12f457"><td class="memTemplParams" colspan="2"><a id="a1c9f5d252b5836a7722861a3ca12f457"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a1c9f5d252b5836a7722861a3ca12f457"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a1c9f5d252b5836a7722861a3ca12f457">value</a> () const</td></tr>
<tr class="memdesc:a1c9f5d252b5836a7722861a3ca12f457"><td class="mdescLeft">&#160;</td><td class="mdescRight">READ accessor for variantValue. <br /></td></tr>
<tr class="separator:a1c9f5d252b5836a7722861a3ca12f457"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a001e912f187a92234ee0fc9200bb2369"><td class="memItemLeft" align="right" valign="top"><a id="a001e912f187a92234ee0fc9200bb2369"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a001e912f187a92234ee0fc9200bb2369">setKey</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> <a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#aad61db86454bd92167b9c0b3e5272ed0">key</a>)</td></tr>
<tr class="memdesc:a001e912f187a92234ee0fc9200bb2369"><td class="mdescLeft">&#160;</td><td class="mdescRight">WRITE accessor for key. <br /></td></tr>
<tr class="separator:a001e912f187a92234ee0fc9200bb2369"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e5cde9432dbcdf61c27bd798e6b57dd"><td class="memItemLeft" align="right" valign="top"><a id="a5e5cde9432dbcdf61c27bd798e6b57dd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a5e5cde9432dbcdf61c27bd798e6b57dd">setDataVersion</a> (int <a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a5fd6523fd61e928435ef566a07ed3e41">dataVersion</a>)</td></tr>
<tr class="memdesc:a5e5cde9432dbcdf61c27bd798e6b57dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">WRITE accessor for dataVersion. <br /></td></tr>
<tr class="separator:a5e5cde9432dbcdf61c27bd798e6b57dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfc33b1fbbf1cf3a952e3b1a0012ef00"><td class="memItemLeft" align="right" valign="top"><a id="acfc33b1fbbf1cf3a952e3b1a0012ef00"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#acfc33b1fbbf1cf3a952e3b1a0012ef00">setValue</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> <a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a3f36f030ed6cfc13720800ca8559c0ec">value</a>)</td></tr>
<tr class="memdesc:acfc33b1fbbf1cf3a952e3b1a0012ef00"><td class="mdescLeft">&#160;</td><td class="mdescRight">WRITE accessor for variantValue. <br /></td></tr>
<tr class="separator:acfc33b1fbbf1cf3a952e3b1a0012ef00"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:aad61db86454bd92167b9c0b3e5272ed0"><td class="memItemLeft" align="right" valign="top"><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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#aad61db86454bd92167b9c0b3e5272ed0">key</a></td></tr>
<tr class="memdesc:aad61db86454bd92167b9c0b3e5272ed0"><td class="mdescLeft">&#160;</td><td class="mdescRight">They key of the entry stored. <a href="#aad61db86454bd92167b9c0b3e5272ed0">More...</a><br /></td></tr>
<tr class="separator:aad61db86454bd92167b9c0b3e5272ed0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fd6523fd61e928435ef566a07ed3e41"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a5fd6523fd61e928435ef566a07ed3e41">dataVersion</a></td></tr>
<tr class="memdesc:a5fd6523fd61e928435ef566a07ed3e41"><td class="mdescLeft">&#160;</td><td class="mdescRight">The QDataStream::Version that was used to serialize the entry. <a href="#a5fd6523fd61e928435ef566a07ed3e41">More...</a><br /></td></tr>
<tr class="separator:a5fd6523fd61e928435ef566a07ed3e41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f36f030ed6cfc13720800ca8559c0ec"><td class="memItemLeft" align="right" valign="top"><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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a3f36f030ed6cfc13720800ca8559c0ec">value</a></td></tr>
<tr class="memdesc:a3f36f030ed6cfc13720800ca8559c0ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">The raw (deserialized) value stored. <a href="#a3f36f030ed6cfc13720800ca8559c0ec">More...</a><br /></td></tr>
<tr class="separator:a3f36f030ed6cfc13720800ca8559c0ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7048d770b826164254d837e15fa707ab"><td class="memItemLeft" align="right" valign="top"><a id="a7048d770b826164254d837e15fa707ab"></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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a7048d770b826164254d837e15fa707ab">valueData</a></td></tr>
<tr class="memdesc:a7048d770b826164254d837e15fa707ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal property. <br /></td></tr>
<tr class="separator:a7048d770b826164254d837e15fa707ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A class used with 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> to store and sync generic settings. </p>
<p>In order to be consistend with other settings implementations and the requirements of <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>, the actual value stored in this class is serialized not via the json serializer, but using <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>. The resulting binary data is stored as the valueData property in base64 format. When loaded, you can access the data in 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> format using the <a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a3f36f030ed6cfc13720800ca8559c0ec" title="The raw (deserialized) value stored. ">DataSyncSettingsEntry::value</a> property.</p>
<dl class="section see"><dt>See also</dt><dd><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> </dd></dl>
<p class="definition">Definition at line <a class="el" href="datasyncsettingsentry_8h_source.html#l00014">14</a> of file <a class="el" href="datasyncsettingsentry_8h_source.html">datasyncsettingsentry.h</a>.</p>
</div><h2 class="groupheader">Property Documentation</h2>
<a id="a5fd6523fd61e928435ef566a07ed3e41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fd6523fd61e928435ef566a07ed3e41">&#9670;&nbsp;</a></span>dataVersion</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QtMvvm::DataSyncSettingsEntry::dataVersion</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The QDataStream::Version that was used to serialize the entry. </p>
<p><b>Default:</b> <code>QDataStream::Qt_DefaultCompiledVersion</code> <br />
</p>
<p>The version is needed to identify the format used for the serialization to be able to properly deserialize the data again. It is used internally to set up the internal <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></p>
<table class="doxtable">
<tr>
<th colspan="2">Accessors </th></tr>
<tr>
<td><b>READ</b></td><td><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a5fd6523fd61e928435ef566a07ed3e41" title="The QDataStream::Version that was used to serialize the entry. ">dataVersion()</a> </td></tr>
<tr>
<td><b>WRITE</b></td><td><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a5e5cde9432dbcdf61c27bd798e6b57dd" title="WRITE accessor for dataVersion. ">setDataVersion()</a> </td></tr>
</table>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a3f36f030ed6cfc13720800ca8559c0ec" title="The raw (deserialized) value stored. ">DataSyncSettingsEntry::value</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="datasyncsettingsentry_8h_source.html#l00021">21</a> of file <a class="el" href="datasyncsettingsentry_8h_source.html">datasyncsettingsentry.h</a>.</p>
</div>
</div>
<a id="aad61db86454bd92167b9c0b3e5272ed0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad61db86454bd92167b9c0b3e5272ed0">&#9670;&nbsp;</a></span>key</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QtMvvm::DataSyncSettingsEntry::key</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>They key of the entry stored. </p>
<p><b>Default:</b> <em>empty</em> <br />
</p>
<p>The key is simply the settings key used to identify the entry. Thus, it is set as the user property.</p>
<table class="doxtable">
<tr>
<th colspan="2">Accessors </th></tr>
<tr>
<td><b>READ</b></td><td><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#aad61db86454bd92167b9c0b3e5272ed0" title="They key of the entry stored. ">key()</a> </td></tr>
<tr>
<td><b>WRITE</b></td><td><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a001e912f187a92234ee0fc9200bb2369" title="WRITE accessor for key. ">setKey()</a> </td></tr>
<tr>
<td><b>USER</b></td><td><code>true</code> </td></tr>
</table>
<dl class="section see"><dt>See also</dt><dd>DataSyncSettingsEntry::variantValue </dd></dl>
<p class="definition">Definition at line <a class="el" href="datasyncsettingsentry_8h_source.html#l00019">19</a> of file <a class="el" href="datasyncsettingsentry_8h_source.html">datasyncsettingsentry.h</a>.</p>
</div>
</div>
<a id="a3f36f030ed6cfc13720800ca8559c0ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f36f030ed6cfc13720800ca8559c0ec">&#9670;&nbsp;</a></span>value</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QtMvvm::DataSyncSettingsEntry::value</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The raw (deserialized) value stored. </p>
<p><b>Default:</b> <em>invalid</em> <br />
</p>
<p>The data of the entry. This property does not get stored directly, but instead gets serialized to 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> and then stored via the internal valueData property.</p>
<table class="doxtable">
<tr>
<th colspan="2">Accessors </th></tr>
<tr>
<td><b>READ</b></td><td><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a3f36f030ed6cfc13720800ca8559c0ec" title="The raw (deserialized) value stored. ">value()</a> </td></tr>
<tr>
<td><b>WRITE</b></td><td><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#acfc33b1fbbf1cf3a952e3b1a0012ef00" title="WRITE accessor for variantValue. ">setValue()</a> </td></tr>
<tr>
<td><b>STORED</b></td><td><code>false</code> </td></tr>
</table>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="struct_qt_mvvm_1_1_data_sync_settings_entry.html#a7048d770b826164254d837e15fa707ab" title="Internal property. ">DataSyncSettingsEntry::valueData</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="datasyncsettingsentry_8h_source.html#l00023">23</a> of file <a class="el" href="datasyncsettingsentry_8h_source.html">datasyncsettingsentry.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="datasyncsettingsentry_8h_source.html">datasyncsettingsentry.h</a></li>
<li>datasyncsettingsentry.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 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>