diff options
author | David Schulz <david.schulz@digia.com> | 2012-11-23 11:52:51 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-23 17:04:00 +0100 |
commit | cbf3771e86272c10519394627784d6c1088f3a3b (patch) | |
tree | f526458bba0f2c5fe8ae1c05b678d9966a4eaf77 /examples/widgets/painting/deform/pathdeform.h | |
parent | 92724e533d13f56d359122d7d83ddc2316a75ef8 (diff) |
QtBase: examples/widgets/painting code style
Change-Id: I3d3c6f3bae20ac8383279437f8f89c92195a704f
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'examples/widgets/painting/deform/pathdeform.h')
-rw-r--r-- | examples/widgets/painting/deform/pathdeform.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/examples/widgets/painting/deform/pathdeform.h b/examples/widgets/painting/deform/pathdeform.h index 8e44c4ac4f..8bb2c9667c 100644 --- a/examples/widgets/painting/deform/pathdeform.h +++ b/examples/widgets/painting/deform/pathdeform.h @@ -44,9 +44,9 @@ #include "arthurwidgets.h" -#include <QPainterPath> #include <QBasicTimer> #include <QDateTime> +#include <QPainterPath> class PathDeformRenderer : public ArthurFrame { @@ -113,8 +113,8 @@ private: QPointF m_offset; QPointF m_direction; QPointF m_mousePress; - bool m_mouseDrag; - bool m_smallScreen; + bool m_mouseDrag; + bool m_smallScreen; }; class PathDeformControls : public QWidget @@ -129,9 +129,6 @@ private: PathDeformRenderer* m_renderer; void layoutForDesktop(); void layoutForSmallScreen(); -private slots: - void emitQuitSignal(); - void emitOkSignal(); }; class PathDeformWidget : public QWidget @@ -139,7 +136,7 @@ class PathDeformWidget : public QWidget Q_OBJECT public: PathDeformWidget(QWidget *parent, bool smallScreen); - void setStyle ( QStyle * style ); + void setStyle (QStyle * style ); private: PathDeformRenderer *m_renderer; |