diff options
Diffstat (limited to 'src/DragWidget.h')
-rw-r--r-- | src/DragWidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DragWidget.h b/src/DragWidget.h index 8519e16..ed311d3 100644 --- a/src/DragWidget.h +++ b/src/DragWidget.h @@ -12,6 +12,9 @@ public: DragWidget(TQWidget *parent=0, const char *name="", WFlags f=0); virtual ~DragWidget(); + void setLocked(bool mode); + const bool isLocked() const; + private: bool drag; @@ -22,6 +25,7 @@ protected: void mouseReleaseEvent ( TQMouseEvent * e ); TQPoint dragP; TQPoint gpress; + bool locked; }; |