diff -r 192e1392ba6a -r 12958f987bcf selection.h --- a/selection.h Wed Jul 16 10:44:44 2008 +0000 +++ b/selection.h Wed Jul 16 10:46:14 2008 +0000 @@ -29,6 +29,9 @@ bool select (const QString &); bool reselect (); void unselect (); + bool isBlocked (); + void block(); + void unblock(); bool isEmpty(); uint count(); Type type(); @@ -48,6 +51,8 @@ QGraphicsScene *scene; QColor color; + bool blocked; //!< if true, no new selection possible }; + #endif