subsurface/desktop-widgets
Tomaz Canabrava 2c5fad73e8 Start to use the QSettings ObjectWrapper
start of the QSettinsg Object Wrapper usage on the code
this first patch removes two macros that generated around
200 lines in runtime for something like a quarter of it
Basically, whenever we changed anything we called the
PreferencesDialog::settingsChanged and connected everythign
to that signal, now each setting has it's own changed signal
and we can call it directly.

The best thing about this approach is that we don't trigger
repaints for things that are not directly profile related. (
actually we still do, but the plan is to remove them in due time)

this commit breaks correct atualization of the profile (because
everything was connected to PreferencesDialog::settingsChanged)
and now I need to hunt a bit for the correct connections

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-01-25 13:04:01 -08:00
..
css Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
marble Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
plugins Fix CMake to not add Facebook on Android 2015-12-17 11:48:15 -08:00
preferences Be more precise in our language: call it "mean depth" 2016-01-12 10:35:28 -08:00
statistics Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
about.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
about.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
about.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
btdeviceselectiondialog.cpp btdeviceselectiondialog.cpp: fix unused variable 2015-11-07 22:22:41 +02:00
btdeviceselectiondialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
btdeviceselectiondialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
CMakeLists.txt Don't rely on CMAKE_AUTOUIC 2015-11-09 18:00:56 -08:00
configuredivecomputerdialog.cpp configure OSTC/OSTC3: Add safety stop parameters 2016-01-22 06:50:22 -08:00
configuredivecomputerdialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
configuredivecomputerdialog.ui configure OSTC/OSTC3: Add safety stop parameters 2016-01-22 06:50:22 -08:00
divecomponentselection.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divecomputermanagementdialog.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divecomputermanagementdialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divecomputermanagementdialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divelistview.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divelistview.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divelogexportdialog.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divelogexportdialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divelogexportdialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divelogimportdialog.cpp divelogimportdialog.cpp: declare an enum as type 2015-11-07 22:32:19 +02:00
divelogimportdialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divelogimportdialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divepicturewidget.cpp Make pictures respond to double clicks again 2015-11-29 13:08:26 -08:00
divepicturewidget.h Drag and Drop Images 2015-11-24 09:22:16 -08:00
diveplanner.cpp Create date and time formats preferences 2015-11-02 12:51:31 -08:00
diveplanner.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
diveplanner.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
diveshareexportdialog.cpp diveshareexportdialog.cpp: fix an argument order warning 2015-11-07 22:26:32 -08:00
diveshareexportdialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
diveshareexportdialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
downloadfromdivecomputer.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
downloadfromdivecomputer.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
downloadfromdivecomputer.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
filterwidget.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
globe.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
globe.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
groupedlineedit.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
groupedlineedit.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
kmessagewidget.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
kmessagewidget.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
listfilter.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
locationinformation.cpp Fix UI issue with location management 2016-01-19 13:06:38 -08:00
locationinformation.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
locationInformation.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
maintab.cpp Hide the time from trip tab 2016-01-17 10:45:40 -08:00
maintab.h Context menu for images: add loading from file / web 2015-11-03 08:31:41 -08:00
maintab.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
mainwindow.cpp Start to use the QSettings ObjectWrapper 2016-01-25 13:04:01 -08:00
mainwindow.h Start to use the QSettings ObjectWrapper 2016-01-25 13:04:01 -08:00
mainwindow.ui Add menu entry for creating GPS location 2015-11-18 19:17:32 -08:00
modeldelegates.cpp modeldelegates: remove printing related delegates 2015-11-10 09:08:16 -08:00
modeldelegates.h modeldelegates: remove printing related delegates 2015-11-10 09:08:16 -08:00
notificationwidget.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
notificationwidget.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
plannerDetails.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
plannerSettings.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
printdialog.cpp Lazy Initialize QPrinter 2016-01-08 08:04:58 -08:00
printdialog.h Lazy Initialize QPrinter 2016-01-08 08:04:58 -08:00
printer.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
printer.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
printoptions.cpp Don't if true then true 2016-01-08 10:02:20 -08:00
printoptions.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
printoptions.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
qtwaitingspinner.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
qtwaitingspinner.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
renumber.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
searchbar.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
setpoint.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
shiftimagetimes.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
shifttimes.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
simplewidgets.cpp Parse html links in the Notes section. 2015-11-15 22:22:53 -08:00
simplewidgets.h Parse html links in the Notes section. 2015-11-15 22:22:53 -08:00
starwidget.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
starwidget.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
subsurfacewebservices.cpp Fetch the Subsurface webservice userid if cloud credentials were given 2015-12-02 14:32:03 -08:00
subsurfacewebservices.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
tableview.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
tableview.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
tableview.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
tagwidget.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
tagwidget.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
templateedit.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
templateedit.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
templateedit.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
templatelayout.cpp Fix memory leak on the printing system 2016-01-08 10:03:12 -08:00
templatelayout.h Removed grantlee template code to deal with non-Qobject 2016-01-08 08:05:36 -08:00
undocommands.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
undocommands.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
updatemanager.cpp Cloud storage: modify protocol for checking cloud connectivity 2015-11-18 17:57:13 -08:00
updatemanager.h Cloud storage: modify protocol for checking cloud connectivity 2015-11-18 17:57:13 -08:00
urldialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
usermanual.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
usermanual.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
usersurvey.cpp Remove the non-canonical Subusrface version 2015-12-20 07:59:50 -08:00
usersurvey.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
usersurvey.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
webservices.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00