summaryrefslogtreecommitdiffstats
path: root/twin/utils.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:53:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:53:50 -0600
commitf64397c82fa94371ab4a64af28c4d0029f4cd93f (patch)
treecdb72f3faadbcebe60088800f27df1ec23ad15d8 /twin/utils.cpp
parent628043be55ddd2f534411d028e4f68c8fe4eaabb (diff)
downloadtdebase-f64397c82fa94371ab4a64af28c4d0029f4cd93f.tar.gz
tdebase-f64397c82fa94371ab4a64af28c4d0029f4cd93f.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'twin/utils.cpp')
-rw-r--r--twin/utils.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/twin/utils.cpp b/twin/utils.cpp
index 608b4bed3..d476c8932 100644
--- a/twin/utils.cpp
+++ b/twin/utils.cpp
@@ -46,11 +46,11 @@ namespace KWinInternal
// used to store the return values of
// XShapeQueryExtension.
-// Necessary since tqshaped window are an extension to X
-int Shape::twin_tqshape_version = 0;
-int Shape::twin_tqshape_event = 0;
+// Necessary since shaped window are an extension to X
+int Shape::twin_shape_version = 0;
+int Shape::twin_shape_event = 0;
-// does the window w need a tqshape combine mask around it?
+// does the window w need a shape combine mask around it?
bool Shape::hasShape( WId w)
{
int xws, yws, xbs, ybs;
@@ -64,21 +64,21 @@ bool Shape::hasShape( WId w)
return boundingShaped != 0;
}
-int Shape::tqshapeEvent()
+int Shape::shapeEvent()
{
- return twin_tqshape_event;
+ return twin_shape_event;
}
void Shape::init()
{
- twin_tqshape_version = 0;
+ twin_shape_version = 0;
int dummy;
- if( !XShapeQueryExtension(qt_xdisplay(), &twin_tqshape_event, &dummy))
+ if( !XShapeQueryExtension(qt_xdisplay(), &twin_shape_event, &dummy))
return;
int major, minor;
if( !XShapeQueryVersion( qt_xdisplay(), &major, &minor ))
return;
- twin_tqshape_version = major * 0x10 + minor;
+ twin_shape_version = major * 0x10 + minor;
}
void Motif::readFlags( WId w, bool& noborder, bool& resize, bool& move,