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/dbus_plugin.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/dbus_plugin.h')
-rw-r--r-- | src/components/qt_hmi/qml_plugins/dbus_adapter/dbus_plugin.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/components/qt_hmi/qml_plugins/dbus_adapter/dbus_plugin.h b/src/components/qt_hmi/qml_plugins/dbus_adapter/dbus_plugin.h index ef2a925956..2b5bba6235 100644 --- a/src/components/qt_hmi/qml_plugins/dbus_adapter/dbus_plugin.h +++ b/src/components/qt_hmi/qml_plugins/dbus_adapter/dbus_plugin.h @@ -38,11 +38,11 @@ #include "qt_version.h" #if QT_4 -# include <QtDeclarative/QDeclarativeExtensionPlugin> +#include <QtDeclarative/QDeclarativeExtensionPlugin> typedef QDeclarativeExtensionPlugin ExtensionPlugin; typedef QDeclarativeEngine Engine; #elif QT_5 -# include <QtQml/QQmlExtensionPlugin> +#include <QtQml/QQmlExtensionPlugin> typedef QQmlExtensionPlugin ExtensionPlugin; typedef QQmlEngine Engine; #endif // QT_VERSION @@ -58,13 +58,12 @@ class DbusPlugin : public ExtensionPlugin, public QDBusContext { Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") #endif // QT_5 - DBusController *dbusController_; - RequestToSDL *requestToSDL_; + DBusController* dbusController_; + RequestToSDL* requestToSDL_; public: - void registerTypes(const char *uri); - void initializeEngine(Engine *engine, const char *uri); + void registerTypes(const char* uri); + void initializeEngine(Engine* engine, const char* uri); }; #endif // SRC_COMPONENTS_QT_HMI_QML_PLUGINS_DBUS_ADAPTER_DBUS_PLUGIN_H_ - |