diff options
Diffstat (limited to 'kruler')
| -rw-r--r-- | kruler/klineal.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kruler/klineal.cpp b/kruler/klineal.cpp index 9e9187a2..a1a66260 100644 --- a/kruler/klineal.cpp +++ b/kruler/klineal.cpp @@ -137,8 +137,8 @@ KLineal::KLineal(TQWidget*parent,const char* name):TDEMainWindow(parent,name){ )); resize(TQSize(mLongEdgeLen, mShortEdgeLen)); - setMouseTracking(TRUE); - mDragging = FALSE; + setMouseTracking(true); + mDragging = false; mOrientation = South; _clicked = false; setOrientation(South); @@ -578,7 +578,7 @@ void KLineal::mousePressEvent(TQMouseEvent *inEvent) { if (inEvent->button() == TQt::LeftButton) { if (!mDragging) { grabMouse(KCursor::sizeAllCursor()); - mDragging = TRUE; + mDragging = true; } } else if (inEvent->button() == TQt::MidButton) { _clicked = true; @@ -592,7 +592,7 @@ void KLineal::mousePressEvent(TQMouseEvent *inEvent) { */ void KLineal::mouseReleaseEvent(TQMouseEvent * /*inEvent*/) { if (mDragging) { - mDragging = FALSE; + mDragging = false; releaseMouse(); } showLabel(); |
