Skip to content
Permalink
Browse files
Run astyle for Qt coding conventions
Parameters from
https://wiki.qt.io/Qt_Coding_Style#Artistic_Style
except line length to 120
  • Loading branch information
pvuorela committed Oct 10, 2016
1 parent a470b9b commit 52ee9e220cbd825f00f50fcaf3ccfe2563c1103b
Showing with 4,967 additions and 4,661 deletions.
  1. +4 −4 declarative/declarativessudeviceinfo.h
  2. +202 −191 libssu/sandbox.cpp
  3. +11 −10 libssu/sandbox_p.h
  4. +547 −518 libssu/ssu.cpp
  5. +33 −32 libssu/ssu.h
  6. +127 −111 libssu/ssucoreconfig.cpp
  7. +9 −8 libssu/ssucoreconfig_p.h
  8. +398 −382 libssu/ssudeviceinfo.cpp
  9. +10 −9 libssu/ssudeviceinfo.h
  10. +33 −30 libssu/ssufeaturemanager.cpp
  11. +5 −4 libssu/ssufeaturemanager.h
  12. +10 −8 libssu/ssufeaturemodel.cpp
  13. +39 −37 libssu/ssulog.cpp
  14. +4 −3 libssu/ssulog_p.h
  15. +367 −355 libssu/ssurepomanager.cpp
  16. +12 −11 libssu/ssurepomanager.h
  17. +142 −135 libssu/ssusettings.cpp
  18. +8 −7 libssu/ssusettings_p.h
  19. +214 −202 libssu/ssuvariables.cpp
  20. +7 −6 libssu/ssuvariables_p.h
  21. +14 −13 ssucli/main.cpp
  22. +630 −611 ssucli/ssucli.cpp
  23. +32 −19 ssucli/ssucli.h
  24. +13 −12 ssud/main.cpp
  25. +140 −116 ssud/ssud.cpp
  26. +11 −10 ssud/ssud.h
  27. +346 −338 ssuks/ssukickstarter.cpp
  28. +11 −10 ssuks/ssukickstarter.h
  29. +79 −76 ssuks/ssuks.cpp
  30. +6 −5 ssuks/ssuks.h
  31. +2 −1 ssuslipstream/ssuslipstream.h
  32. +14 −13 ssuurlresolver/main.cpp
  33. +153 −149 ssuurlresolver/ssuurlresolver.cpp
  34. +22 −17 ssuurlresolver/ssuurlresolver.h
  35. +74 −71 tests/formatoutput/main.cpp
  36. +39 −36 tests/testutils/process.cpp
  37. +8 −7 tests/testutils/process.h
  38. +4 −4 tests/testutils/sandboxhook.cpp
  39. +63 −53 tests/ut_coreconfig/coreconfigtest.cpp
  40. +3 −2 tests/ut_coreconfig/coreconfigtest.h
  41. +11 −10 tests/ut_coreconfig/main.cpp
  42. +46 −42 tests/ut_deviceinfo/deviceinfotest.cpp
  43. +3 −2 tests/ut_deviceinfo/deviceinfotest.h
  44. +11 −10 tests/ut_deviceinfo/main.cpp
  45. +6 −3 tests/ut_featuremodel/featuremodeltest.cpp
  46. +3 −2 tests/ut_featuremodel/featuremodeltest.h
  47. +7 −6 tests/ut_featuremodel/main.cpp
  48. +11 −10 tests/ut_repomanager/main.cpp
  49. +193 −189 tests/ut_repomanager/repomanagertest.cpp
  50. +4 −3 tests/ut_repomanager/repomanagertest.h
  51. +6 −5 tests/ut_sandbox/main.cpp
  52. +50 −48 tests/ut_sandbox/sandboxtest.cpp
  53. +4 −3 tests/ut_sandbox/sandboxtest.h
  54. +11 −10 tests/ut_settings/main.cpp
  55. +91 −85 tests/ut_settings/settingstest.cpp
  56. +4 −3 tests/ut_settings/settingstest.h
  57. +129 −124 tests/ut_settings/upgradetesthelper.cpp
  58. +30 −17 tests/ut_settings/upgradetesthelper.h
  59. +11 −10 tests/ut_ssu/main.cpp
  60. +39 −35 tests/ut_ssu/ssutest.cpp
  61. +5 −4 tests/ut_ssu/ssutest.h
  62. +6 −5 tests/ut_ssucli/main.cpp
  63. +116 −111 tests/ut_ssucli/ssuclitest.cpp
  64. +5 −4 tests/ut_ssucli/ssuclitest.h
  65. +6 −5 tests/ut_ssuurlresolver/main.cpp
  66. +31 −27 tests/ut_ssuurlresolver/ssuurlresolvertest.cpp
  67. +5 −4 tests/ut_ssuurlresolver/ssuurlresolvertest.h
  68. +11 −10 tests/ut_urlresolver/main.cpp
  69. +199 −187 tests/ut_urlresolver/urlresolvertest.cpp
  70. +4 −3 tests/ut_urlresolver/urlresolvertest.h
  71. +6 −5 tests/ut_variables/main.cpp
  72. +53 −50 tests/ut_variables/variablestest.cpp
  73. +4 −3 tests/ut_variables/variablestest.h
@@ -19,9 +19,9 @@ class DeclarativeSsuDeviceInfo : public QObject
* A list of types ssu provides shiny values suitable for displaying
*/
enum DisplayType {
DeviceManufacturer = Ssu::DeviceManufacturer, ///< Manufacturer, like ACME Corp. Board mappings key "deviceManufacturer"
DeviceModel = Ssu::DeviceModel, ///< Marketed device name, like Pogoblaster 3000. Board mappings key "prettyModel"
DeviceDesignation = Ssu::DeviceDesignation, ///< Type designation, like NCC-1701. Beard mappings key "deviceDesignation"
DeviceManufacturer = Ssu::DeviceManufacturer, ///< Manufacturer, like ACME Corp. Board mappings key "deviceManufacturer"
DeviceModel = Ssu::DeviceModel, ///< Marketed device name, like Pogoblaster 3000. Board mappings key "prettyModel"
DeviceDesignation = Ssu::DeviceDesignation, ///< Type designation, like NCC-1701. Beard mappings key "deviceDesignation"
};

DeclarativeSsuDeviceInfo();
@@ -37,7 +37,7 @@ class DeclarativeSsuDeviceInfo : public QObject
* If the device is not a variant it will return an empty string. If
* fallback is set to true it return the device model in this case.
*/
Q_INVOKABLE QString deviceVariant(bool fallback=false);
Q_INVOKABLE QString deviceVariant(bool fallback = false);
/**
* Try to find out ond what kind of system this is running
*/
Loading

0 comments on commit 52ee9e2

Please sign in to comment.