summaryrefslogtreecommitdiffstats
path: root/examples/legend/mainwidget.cpp
diff options
context:
space:
mode:
authorJani Honkonen <jani.honkonen@digia.com>2012-09-25 13:46:57 +0300
committerJani Honkonen <jani.honkonen@digia.com>2012-09-25 13:46:57 +0300
commitf689de612f59d0b5b89c2d652f13c373e14a4ce1 (patch)
tree9a48f0520df539c03660643eecdc77ff2df7f150 /examples/legend/mainwidget.cpp
parent3e6adf48dbd55437bbb030f4b347d386bb28323f (diff)
more coding style fixes for examples
and for one demo
Diffstat (limited to 'examples/legend/mainwidget.cpp')
-rw-r--r--examples/legend/mainwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/legend/mainwidget.cpp b/examples/legend/mainwidget.cpp
index fe2b2fd3..6a05917f 100644
--- a/examples/legend/mainwidget.cpp
+++ b/examples/legend/mainwidget.cpp
@@ -69,7 +69,7 @@ MainWidget::MainWidget(QWidget *parent) :
connect(m_legendWidth, SIGNAL(valueChanged(double)), this, SLOT(updateLegendLayout()));
connect(m_legendHeight, SIGNAL(valueChanged(double)), this, SLOT(updateLegendLayout()));
- QFormLayout* legendLayout = new QFormLayout();
+ QFormLayout *legendLayout = new QFormLayout();
legendLayout->addRow("HPos", m_legendPosX);
legendLayout->addRow("VPos", m_legendPosY);
legendLayout->addRow("Width", m_legendWidth);
@@ -88,7 +88,7 @@ MainWidget::MainWidget(QWidget *parent) :
m_fontSize->setValue(m_chart->legend()->font().pointSizeF());
connect(m_fontSize, SIGNAL(valueChanged(double)), this, SLOT(fontSizeChanged()));
- QFormLayout* fontLayout = new QFormLayout();
+ QFormLayout *fontLayout = new QFormLayout();
fontLayout->addRow("Legend font size", m_fontSize);
// Create layout for grid and detached legend
@@ -180,7 +180,7 @@ void MainWidget::addBarset()
void MainWidget::removeBarset()
{
- QList<QBarSet*> sets = m_series->barSets();
+ QList<QBarSet *> sets = m_series->barSets();
if (sets.count() > 0) {
m_series->remove(sets.at(sets.count() - 1));
}