summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2016-07-25 18:08:17 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2016-07-27 14:26:03 +0000
commita805eb6681cb3ad7e8eb61035fb4fc7c1efdf88f (patch)
tree3dc67db635dfda4ea1b36e25773792fba84e775f /examples
parentd5f8b1fe509c5d1b32d3ebae559ae0d52e55b767 (diff)
downloadqtivi-a805eb6681cb3ad7e8eb61035fb4fc7c1efdf88f.tar.gz
Fixed coding style issues
Change-Id: Ib1812eac61ffa163dd50eeacfc0097881ca277f4 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/vehiclefunctions/climate_widget/mainwindow.cpp6
-rw-r--r--examples/vehiclefunctions/climate_widget/mainwindow.h4
2 files changed, 5 insertions, 5 deletions
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<QIviClimateControl::RecirculationMode> & attribute)
+void MainWindow::onAirRecirculationAttributeChanged(const QIviPropertyAttribute<QIviClimateControl::RecirculationMode> &attribute)
{
ui->cb_airRecirculation->setEnabled(attribute.isAvailable());
}
-void MainWindow::onHeaterAttributeChanged(const QIviPropertyAttribute<bool> & attribute)
+void MainWindow::onHeaterAttributeChanged(const QIviPropertyAttribute<bool> &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<QIviClimateControl::AirflowDirections> & attribute)
+void MainWindow::setupFlowDirectionAttribute(const QIviPropertyAttribute<QIviClimateControl::AirflowDirections> &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<bool> &attribute);
void setupFlowDirectionRadioButtons(QIviClimateControl::AirflowDirections direction);
void setupFlowDirectionAttribute(const QIviPropertyAttribute<QIviClimateControl::AirflowDirections> &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