00001
00002
00003
00004
00005
00006
00007 #ifndef GHOST_PATH_H
00008 #define GHOST_PATH_H
00009
00010 #include <QBrush>
00011 #include <QPainterPath>
00012 #include <QPen>
00013
00015 class GhostPath
00016 {
00017 public:
00019 GhostPath(const QPainterPath &path,
00020 const QPen &pen,
00021 const QBrush &brush);
00022 ~GhostPath();
00023
00025 GhostPath(const GhostPath &other);
00026
00028 GhostPath &operator=(const GhostPath &other);
00029
00031 QBrush brush() const;
00032
00034 QPainterPath path() const;
00035
00037 QPen pen() const;
00038
00039 private:
00040 GhostPath();
00041
00042 QPainterPath m_path;
00043 QPen m_pen;
00044 QBrush m_brush;
00045 };
00046
00047 #endif // GHOST_PATH_H