+ selected_ = select;
+}
+
+bool SelectableItem::dragging() const
+{
+ return drag_point_.x() != INT_MIN && drag_point_.y() != INT_MIN;
+}
+
+QPoint SelectableItem::drag_point() const
+{
+ return drag_point_;
+}
+
+void SelectableItem::drag()
+{
+ drag_point_ = point();
+}
+
+void SelectableItem::drag_release()
+{
+ drag_point_ = QPoint(INT_MIN, INT_MIN);