summaryrefslogtreecommitdiffstats
path: root/examples/charts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/charts')
-rw-r--r--examples/charts/audio/xyseriesiodevice.cpp4
-rw-r--r--examples/charts/barmodelmapper/customtablemodel.cpp4
-rw-r--r--examples/charts/callout/callout.cpp4
-rw-r--r--examples/charts/modeldata/customtablemodel.cpp4
-rw-r--r--examples/charts/stackedbarchartdrilldown/drilldownchart.cpp2
5 files changed, 9 insertions, 9 deletions
diff --git a/examples/charts/audio/xyseriesiodevice.cpp b/examples/charts/audio/xyseriesiodevice.cpp
index d129725d..22d9a070 100644
--- a/examples/charts/audio/xyseriesiodevice.cpp
+++ b/examples/charts/audio/xyseriesiodevice.cpp
@@ -39,8 +39,8 @@ XYSeriesIODevice::XYSeriesIODevice(QXYSeries *series, QObject *parent) :
qint64 XYSeriesIODevice::readData(char *data, qint64 maxSize)
{
- Q_UNUSED(data)
- Q_UNUSED(maxSize)
+ Q_UNUSED(data);
+ Q_UNUSED(maxSize);
return -1;
}
diff --git a/examples/charts/barmodelmapper/customtablemodel.cpp b/examples/charts/barmodelmapper/customtablemodel.cpp
index 37730042..c722f089 100644
--- a/examples/charts/barmodelmapper/customtablemodel.cpp
+++ b/examples/charts/barmodelmapper/customtablemodel.cpp
@@ -60,13 +60,13 @@ CustomTableModel::~CustomTableModel()
int CustomTableModel::rowCount(const QModelIndex &parent) const
{
- Q_UNUSED(parent)
+ Q_UNUSED(parent);
return m_data.count();
}
int CustomTableModel::columnCount(const QModelIndex &parent) const
{
- Q_UNUSED(parent)
+ Q_UNUSED(parent);
return m_columnCount;
}
diff --git a/examples/charts/callout/callout.cpp b/examples/charts/callout/callout.cpp
index bb37802a..c78693b6 100644
--- a/examples/charts/callout/callout.cpp
+++ b/examples/charts/callout/callout.cpp
@@ -53,8 +53,8 @@ QRectF Callout::boundingRect() const
void Callout::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
- Q_UNUSED(option)
- Q_UNUSED(widget)
+ Q_UNUSED(option);
+ Q_UNUSED(widget);
QPainterPath path;
path.addRoundedRect(m_rect, 5, 5);
diff --git a/examples/charts/modeldata/customtablemodel.cpp b/examples/charts/modeldata/customtablemodel.cpp
index 96256232..dfa92944 100644
--- a/examples/charts/modeldata/customtablemodel.cpp
+++ b/examples/charts/modeldata/customtablemodel.cpp
@@ -54,13 +54,13 @@ CustomTableModel::CustomTableModel(QObject *parent) :
int CustomTableModel::rowCount(const QModelIndex &parent) const
{
- Q_UNUSED(parent)
+ Q_UNUSED(parent);
return m_data.count();
}
int CustomTableModel::columnCount(const QModelIndex &parent) const
{
- Q_UNUSED(parent)
+ Q_UNUSED(parent);
return m_columnCount;
}
diff --git a/examples/charts/stackedbarchartdrilldown/drilldownchart.cpp b/examples/charts/stackedbarchartdrilldown/drilldownchart.cpp
index 696b5397..397dad8c 100644
--- a/examples/charts/stackedbarchartdrilldown/drilldownchart.cpp
+++ b/examples/charts/stackedbarchartdrilldown/drilldownchart.cpp
@@ -61,7 +61,7 @@ void DrilldownChart::changeSeries(DrilldownBarSeries *series)
void DrilldownChart::handleClicked(int index, QBarSet *barset)
{
- Q_UNUSED(barset)
+ Q_UNUSED(barset);
DrilldownBarSeries *series = static_cast<DrilldownBarSeries *>(sender());
changeSeries(series->drilldownSeries(index));
}