summaryrefslogtreecommitdiffstats
path: root/kmag/kmagselrect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmag/kmagselrect.cpp')
-rw-r--r--kmag/kmagselrect.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmag/kmagselrect.cpp b/kmag/kmagselrect.cpp
index 236bddf..73caf5a 100644
--- a/kmag/kmagselrect.cpp
+++ b/kmag/kmagselrect.cpp
@@ -184,19 +184,19 @@ void KMagSelRect::hide()
void KMagSelRect::update()
{
// make sure the selection window does not go outside of the display
- if (height() > TQApplication::desktop()->tqgeometry().height())
- setHeight (TQApplication::desktop()->tqgeometry().height());
- if (width() > TQApplication::desktop()->tqgeometry().width())
- setWidth (TQApplication::desktop()->tqgeometry().width());
+ if (height() > TQApplication::desktop()->geometry().height())
+ setHeight (TQApplication::desktop()->geometry().height());
+ if (width() > TQApplication::desktop()->geometry().width())
+ setWidth (TQApplication::desktop()->geometry().width());
if (top() < 0)
moveTop (0);
if (left() < 0)
moveLeft (0);
- if (bottom() > TQApplication::desktop()->tqgeometry().bottom())
- moveBottom (TQApplication::desktop()->tqgeometry().bottom());
- if (right() > TQApplication::desktop()->tqgeometry().right())
- moveRight (TQApplication::desktop()->tqgeometry().right());
+ if (bottom() > TQApplication::desktop()->geometry().bottom())
+ moveBottom (TQApplication::desktop()->geometry().bottom());
+ if (right() > TQApplication::desktop()->geometry().right())
+ moveRight (TQApplication::desktop()->geometry().right());
if (selectionwindow != 0)
selectionwindow->setSelRect (TQRect (topLeft(), bottomRight()));