QTfrontend/drawmapscene.h
changeset 6616 f77bb02b669f
parent 5858 1f4a8cf9efcb
child 6700 e04da46ee43c
--- a/QTfrontend/drawmapscene.h	Mon Jan 30 23:20:28 2012 +0100
+++ b/QTfrontend/drawmapscene.h	Mon Jan 30 17:32:18 2012 -0500
@@ -28,34 +28,34 @@
 
 class DrawMapScene : public QGraphicsScene
 {
-Q_OBJECT
-public:
-    explicit DrawMapScene(QObject *parent = 0);
+        Q_OBJECT
+    public:
+        explicit DrawMapScene(QObject *parent = 0);
 
-    QByteArray encode();
-    void decode(QByteArray data);
+        QByteArray encode();
+        void decode(QByteArray data);
 
-signals:
-    void pathChanged();
+    signals:
+        void pathChanged();
 
-public slots:
-    void undo();
-    void clearMap();
-    void simplifyLast();
+    public slots:
+        void undo();
+        void clearMap();
+        void simplifyLast();
 
-private:
-    QPen m_pen;
-    QBrush m_brush;
-    QGraphicsPathItem  * m_currPath;
-    Paths paths;
-    Paths oldPaths;
-    QList<QGraphicsItem *> oldItems;
+    private:
+        QPen m_pen;
+        QBrush m_brush;
+        QGraphicsPathItem  * m_currPath;
+        Paths paths;
+        Paths oldPaths;
+        QList<QGraphicsItem *> oldItems;
 
-    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent * mouseEvent);
-    virtual void mousePressEvent(QGraphicsSceneMouseEvent * mouseEvent);
-    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent * mouseEvent);
+        virtual void mouseMoveEvent(QGraphicsSceneMouseEvent * mouseEvent);
+        virtual void mousePressEvent(QGraphicsSceneMouseEvent * mouseEvent);
+        virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent * mouseEvent);
 
-    QPainterPath pointsToPath(const QList<QPoint> points);
+        QPainterPath pointsToPath(const QList<QPoint> points);
 };
 
 #endif // DRAWMAPSCENE_H