selection.h
changeset 721 12958f987bcf
parent 642 d35bd2241fd1
child 726 7f43b93242aa
     1.1 --- a/selection.h	Wed Jul 16 10:44:44 2008 +0000
     1.2 +++ b/selection.h	Wed Jul 16 10:46:14 2008 +0000
     1.3 @@ -29,6 +29,9 @@
     1.4  	bool select (const QString &);
     1.5  	bool reselect ();
     1.6  	void unselect ();
     1.7 +	bool isBlocked ();
     1.8 +	void block();
     1.9 +	void unblock();
    1.10  	bool isEmpty();
    1.11  	uint count();
    1.12  	Type type();
    1.13 @@ -48,6 +51,8 @@
    1.14  	QGraphicsScene *scene;
    1.15  
    1.16  	QColor color;
    1.17 +	bool blocked;					//!< if true, no new selection possible
    1.18  };
    1.19 +
    1.20  #endif
    1.21