summaryrefslogtreecommitdiffstats
path: root/twin/workspace.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:46:05 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:46:05 -0600
commit73c08b592db45af554b9f21029bc549d70f683ab (patch)
tree122898ea951e59fdc4419b3c84b7a6c2dd0bb5f7 /twin/workspace.cpp
parente81bdee8ae92d6eeb82daa8c0a0e46bf37f4a6da (diff)
downloadtdebase-73c08b592db45af554b9f21029bc549d70f683ab.tar.gz
tdebase-73c08b592db45af554b9f21029bc549d70f683ab.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'twin/workspace.cpp')
-rw-r--r--twin/workspace.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/twin/workspace.cpp b/twin/workspace.cpp
index 44045838c..a46e3bbc9 100644
--- a/twin/workspace.cpp
+++ b/twin/workspace.cpp
@@ -23,7 +23,7 @@ License. See the file "COPYING" for the exact licensing terms.
#include <tqregexp.h>
#include <tqpainter.h>
#include <tqbitmap.h>
-#include <tqclipboard.h>
+#include <clipboard.h>
#include <kmenubar.h>
#include <kprocess.h>
#include <kglobalaccel.h>
@@ -1056,7 +1056,7 @@ void Workspace::slotReconfigure()
topmenu_selection->release();
lostTopMenuSelection();
}
- topmenu_height = 0; // tqinvalidate used menu height
+ topmenu_height = 0; // invalidate used menu height
if( managingTopMenus())
{
updateTopMenuGeometry();
@@ -1938,7 +1938,7 @@ void Workspace::slotGrabWindow()
int count, order;
XRectangle* rects = XShapeGetRectangles( qt_xdisplay(), active_client->frameId(),
ShapeBounding, &count, &order);
- //The ShapeBounding region is the outermost tqshape of the window;
+ //The ShapeBounding region is the outermost shape of the window;
//ShapeBounding - ShapeClipping is defined to be the border.
//Since the border area is part of the window, we use bounding
// to limit our work region
@@ -1956,7 +1956,7 @@ void Workspace::slotGrabWindow()
//Get the masked away area.
TQRegion maskedAway = bbox - contents;
- TQMemArray<TQRect> maskedAwayRects = maskedAway.tqrects();
+ TQMemArray<TQRect> maskedAwayRects = maskedAway.rects();
//Construct a bitmap mask from the rectangles
TQBitmap mask( snapshot.width(), snapshot.height());
@@ -1969,7 +1969,7 @@ void Workspace::slotGrabWindow()
}
}
- TQClipboard *cb = TQApplication::tqclipboard();
+ TQClipboard *cb = TQApplication::clipboard();
cb->setPixmap( snapshot );
}
else
@@ -1982,7 +1982,7 @@ void Workspace::slotGrabWindow()
void Workspace::slotGrabDesktop()
{
TQPixmap p = TQPixmap::grabWindow( qt_xrootwin() );
- TQClipboard *cb = TQApplication::tqclipboard();
+ TQClipboard *cb = TQApplication::clipboard();
cb->setPixmap( p );
}
@@ -2606,7 +2606,7 @@ int Workspace::topMenuHeight() const
{ // simply create a dummy menubar and use its preffered height as the menu height
KMenuBar tmpmenu;
tmpmenu.insertItem( "dummy" );
- topmenu_height = tmpmenu.tqsizeHint().height();
+ topmenu_height = tmpmenu.sizeHint().height();
}
return topmenu_height;
}