summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/diagramscene/diagramtextitem.h
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@digia.com>2012-11-23 09:31:03 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-23 17:04:00 +0100
commitdae8d2505d6b6c591429768c10ae3ca190679d41 (patch)
tree8feab16aa3ae17e410c0ef222a5ec6b79962eb65 /examples/widgets/graphicsview/diagramscene/diagramtextitem.h
parentcbf3771e86272c10519394627784d6c1088f3a3b (diff)
QtBase: examples/widgets/graphicsview/ codestyle
Change-Id: I501066b5eb5a1557d510e0ec20b5270e8c12704a Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'examples/widgets/graphicsview/diagramscene/diagramtextitem.h')
-rw-r--r--examples/widgets/graphicsview/diagramscene/diagramtextitem.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/widgets/graphicsview/diagramscene/diagramtextitem.h b/examples/widgets/graphicsview/diagramscene/diagramtextitem.h
index c6cff61b36..81013ed014 100644
--- a/examples/widgets/graphicsview/diagramscene/diagramtextitem.h
+++ b/examples/widgets/graphicsview/diagramscene/diagramtextitem.h
@@ -61,8 +61,7 @@ public:
DiagramTextItem(QGraphicsItem *parent = 0);
- int type() const
- { return Type; }
+ int type() const { return Type; }
signals:
void lostFocus(DiagramTextItem *item);
@@ -75,4 +74,4 @@ protected:
};
//! [0]
-#endif
+#endif // DIAGRAMTEXTITEM_H