selection.h
changeset 723 11f9124c1cca
parent 642 d35bd2241fd1
child 726 7f43b93242aa
     1.1 --- a/selection.h	Mon Jan 14 16:26:59 2008 +0000
     1.2 +++ b/selection.h	Mon Aug 04 10:43:06 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