summaryrefslogtreecommitdiff
path: root/examples/activeqt/multiple/ax1.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/activeqt/multiple/ax1.h')
-rw-r--r--examples/activeqt/multiple/ax1.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/activeqt/multiple/ax1.h b/examples/activeqt/multiple/ax1.h
index 7f502ab..72bbe5d 100644
--- a/examples/activeqt/multiple/ax1.h
+++ b/examples/activeqt/multiple/ax1.h
@@ -61,21 +61,21 @@ public:
QColor fillColor() const
{
- return fill_color;
+ return fill_color;
}
void setFillColor(const QColor &fc)
{
- fill_color = fc;
- repaint();
+ fill_color = fc;
+ repaint();
}
protected:
void paintEvent(QPaintEvent *e)
{
- QPainter paint(this);
- QRect r = rect();
- r.adjust(10, 10, -10, -10);
- paint.fillRect(r, fill_color);
+ QPainter paint(this);
+ QRect r = rect();
+ r.adjust(10, 10, -10, -10);
+ paint.fillRect(r, fill_color);
}
private: