diff options
author | Kozoriz <kozorizandriy@gmail.com> | 2016-04-26 12:41:54 +0300 |
---|---|---|
committer | Kozoriz <kozorizandriy@gmail.com> | 2016-04-26 15:50:21 +0300 |
commit | 4ecdb2a83871784f34430ed09d5ef6a2c0855506 (patch) | |
tree | dc36b449e5d32ac3e493e16865cf9d88d9991817 /src/components/qt_hmi/qml_plugins/dbus_adapter/metatype.h | |
parent | cf58bb97d09c536dce3b492d1517da0b837bc8eb (diff) | |
download | sdl_core-4ecdb2a83871784f34430ed09d5ef6a2c0855506.tar.gz |
Format all code in project
Formated all code in appMain, components, plugins to correct coding-style
Used clang-format-3.6
Used 2 commands :
find src/appMain/ -name "*.h" -o -name "*.cc" -o -name "*.hpp" -o -name "*.cpp" | xargs clang-format-3.6 -i -style=file
find src/components/ -name "*.h" -o -name "*.cc" -o -name "*.hpp" -o -name "*.cpp" | xargs clang-format-3.6 -i -style=file
find src/plugins/ -name "*.h" -o -name "*.cc" -o -name "*.hpp" -o -name "*.cpp" | xargs clang-format-3.6 -i -style=file
Diffstat (limited to 'src/components/qt_hmi/qml_plugins/dbus_adapter/metatype.h')
-rw-r--r-- | src/components/qt_hmi/qml_plugins/dbus_adapter/metatype.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/qt_hmi/qml_plugins/dbus_adapter/metatype.h b/src/components/qt_hmi/qml_plugins/dbus_adapter/metatype.h index 5224da7f55..b127cea1a8 100644 --- a/src/components/qt_hmi/qml_plugins/dbus_adapter/metatype.h +++ b/src/components/qt_hmi/qml_plugins/dbus_adapter/metatype.h @@ -35,25 +35,25 @@ #include <QMetaType> -template<typename T> +template <typename T> QMetaType::Type metatype(); -template<> +template <> inline QMetaType::Type metatype<int>() { return QMetaType::Int; } -template<> +template <> inline QMetaType::Type metatype<QString>() { return QMetaType::QString; } -template<> +template <> inline QMetaType::Type metatype<bool>() { return QMetaType::Bool; } -template<> +template <> inline QMetaType::Type metatype<double>() { return QMetaType::Double; } |