<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/core/settings, branch v4.8.1</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.8.1</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.8.1'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-07-10T17:30:50Z</updated>
<entry>
<title>core: add version variables to qPref and make it qml loadable</title>
<updated>2018-07-10T17:30:50Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-07-07T20:59:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=4a4bc1c8f39e39aacba0a58a41a6fa8cbc63e4b0'/>
<id>urn:sha1:4a4bc1c8f39e39aacba0a58a41a6fa8cbc63e4b0</id>
<content type='text'>
add canonical_version and mobile_version to qPref

Having a property in qPref, allows the use in qml, and prepare the
interface for qml testing.

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: make qPref::cloud_status the only version of the enum</title>
<updated>2018-07-10T17:30:50Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-07-05T18:37:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8d66633fe798f6c45978ea1b0d47aa04625d4ac5'/>
<id>urn:sha1:8d66633fe798f6c45978ea1b0d47aa04625d4ac5</id>
<content type='text'>
add enum to qPref and remove elsewhere
update source core to reference qPref.

the enum cannot be in pref.h because it is to be used in qml and Q_ENUM
need the enum to be defined as part of the class

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: update qPrefDisplay.cpp to use all qPref macros.</title>
<updated>2018-07-07T16:44:06Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-07-04T14:50:51Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=516e3421b1f053fb641152e802752429243aa279'/>
<id>urn:sha1:516e3421b1f053fb641152e802752429243aa279</id>
<content type='text'>
change qPrefDisplay.cpp to use qPref_private macros, for each variable. The macros
used depend on how standard the variable is handled.

Remark: this commit is production code, but qPrefDisplay is NOT integrated into
SettingsObjectWrapper and thus not active in the live system

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: add macros to handle get/set/loadsync functions</title>
<updated>2018-07-07T16:44:06Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-07-04T12:13:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=29719846871a1ed54495b5b08b48ef6b1cd342da'/>
<id>urn:sha1:29719846871a1ed54495b5b08b48ef6b1cd342da</id>
<content type='text'>
Add macros to handle get/set/loadsync function set functions in qPref

These macros are only convinience functions to write less for all those
variables who are traited standardized.

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: add macros to handle setter functions</title>
<updated>2018-07-07T16:44:06Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-07-02T07:25:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e3767fdc43ca0008bcc5265ba18d067ff06685ec'/>
<id>urn:sha1:e3767fdc43ca0008bcc5265ba18d067ff06685ec</id>
<content type='text'>
Add macros to handle full function set functions in qPref

Remark: the function name is fixed to be "set_&lt;name&gt;" where name is
identical to the variable in struct preferences

This is not our standard naming, but is consistent with struct
preferences (that also use different name schemes).

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: add macros to replace getter functions</title>
<updated>2018-07-07T16:44:06Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-07-01T20:26:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7ee1aab7286d529d5ae8e32ef0c43bef1cab912a'/>
<id>urn:sha1:7ee1aab7286d529d5ae8e32ef0c43bef1cab912a</id>
<content type='text'>
Add macros to handle full getter functions

Remark: it is assumed the name of getter function is identical to
the name in struct preferences.

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: qPref private add macros to replace disk* functions</title>
<updated>2018-07-07T16:44:06Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-06-30T09:23:33Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ce358fdb68f00291abae28fc717506cd13a40f11'/>
<id>urn:sha1:ce358fdb68f00291abae28fc717506cd13a40f11</id>
<content type='text'>
Use a private QSettings variable, instead of declaring it each time

Add macros to handle full disk* functions

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: copy Display from SettingsObjectWrapper to qPref as its own class</title>
<updated>2018-07-07T16:44:06Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-06-15T08:53:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e5dace2233fd2007ce81d0d926d411641c519fb2'/>
<id>urn:sha1:e5dace2233fd2007ce81d0d926d411641c519fb2</id>
<content type='text'>
copy Display from SettingsObjectWrapper to qPref as its own class
file. Update Display to use a common load/sync scheme.

Update set/get functions to follow common name scheme:
- get function have same name as in struct preferences
- set function have set_&lt;name in struct preferences&gt;
- signal function have &lt;name in struct preferences&gt;_changed

one class one .h/.cpp is the C++ idiom. Having load/sync of each
variable in 1 functions (in contrast to the distributed way SettingsObjectWrapper
handles it) secures the same storage name is used. Having the set/get/load/sync
functions grouped together makes it easier to get an overview.

REMARK: this commit are made to show the use of the low level LOADSYNC macros, which will
be used for special cases. This class is NOT linked into the live system.

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: remove double definition of enum cloud_storage_status</title>
<updated>2018-07-03T21:32:30Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-06-16T08:08:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2f951413303e10a80e540cacd0c6c282f8ce82cc'/>
<id>urn:sha1:2f951413303e10a80e540cacd0c6c282f8ce82cc</id>
<content type='text'>
Remove cloud_storage_status from qmlprefs.h.
usage to qPref::

enum cloud_storage_status is not used from C, but only from C++, and
having the same structure defined multiple times is a maintenance
challenge.

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: add qPref.h_and qPrefprivate.h</title>
<updated>2018-07-03T21:32:30Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-06-16T14:03:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d02a03983d91da1d10aac5b0a5d84d15e94e9291'/>
<id>urn:sha1:d02a03983d91da1d10aac5b0a5d84d15e94e9291</id>
<content type='text'>
add 2 header files and 1 cpp file (qPrefPrivate does not have an implementation)

The rewrite/consoliadation of SettingsObjectWrapper, qmlmanager, qmlpref and planner
needs a place to put common private parts (qPrefPrivate) and 1 common class (qPref).

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
</feed>
