From a805eb6681cb3ad7e8eb61035fb4fc7c1efdf88f Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Mon, 25 Jul 2016 18:08:17 +0200 Subject: Fixed coding style issues Change-Id: Ib1812eac61ffa163dd50eeacfc0097881ca277f4 Reviewed-by: Robert Griebl --- examples/vehiclefunctions/climate_widget/mainwindow.cpp | 6 +++--- examples/vehiclefunctions/climate_widget/mainwindow.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/vehiclefunctions/climate_widget/mainwindow.cpp b/examples/vehiclefunctions/climate_widget/mainwindow.cpp index 3e9dba6..fb0ab80 100644 --- a/examples/vehiclefunctions/climate_widget/mainwindow.cpp +++ b/examples/vehiclefunctions/climate_widget/mainwindow.cpp @@ -140,12 +140,12 @@ void MainWindow::onAirRecirculationModeChanged(QIviClimateControl::Recirculation ui->cb_airRecirculation->setChecked(mode == QIviClimateControl::RecirculationOn); } -void MainWindow::onAirRecirculationAttributeChanged(const QIviPropertyAttribute & attribute) +void MainWindow::onAirRecirculationAttributeChanged(const QIviPropertyAttribute &attribute) { ui->cb_airRecirculation->setEnabled(attribute.isAvailable()); } -void MainWindow::onHeaterAttributeChanged(const QIviPropertyAttribute & attribute) +void MainWindow::onHeaterAttributeChanged(const QIviPropertyAttribute &attribute) { ui->cb_heater->setEnabled(attribute.isAvailable()); } @@ -163,7 +163,7 @@ void MainWindow::setupFlowDirectionRadioButtons(QIviClimateControl::AirflowDirec ui->cb_floor->setChecked(direction.testFlag(QIviClimateControl::Floor)); } -void MainWindow::setupFlowDirectionAttribute(const QIviPropertyAttribute & attribute) +void MainWindow::setupFlowDirectionAttribute(const QIviPropertyAttribute &attribute) { ui->cb_windshield->setEnabled(attribute.availableValues().contains(QIviClimateControl::Windshield)); ui->cb_dashboard->setEnabled(attribute.availableValues().contains(QIviClimateControl::Dashboard)); diff --git a/examples/vehiclefunctions/climate_widget/mainwindow.h b/examples/vehiclefunctions/climate_widget/mainwindow.h index ec80863..be378c3 100644 --- a/examples/vehiclefunctions/climate_widget/mainwindow.h +++ b/examples/vehiclefunctions/climate_widget/mainwindow.h @@ -81,12 +81,12 @@ private slots: void onAirConditioningAttributeChanged(const QIviPropertyAttribute &attribute); void setupFlowDirectionRadioButtons(QIviClimateControl::AirflowDirections direction); void setupFlowDirectionAttribute(const QIviPropertyAttribute &attribute); - void onFlowDirectionButtonToggled(QAbstractButton * button, bool checked); + void onFlowDirectionButtonToggled(QAbstractButton *button, bool checked); private: Ui::MainWindow *ui; QButtonGroup *m_buttonGroup; - QIviClimateControl* m_climateControl; + QIviClimateControl *m_climateControl; }; #endif // MAINWINDOW_H -- cgit v1.2.1