summaryrefslogtreecommitdiffstats
path: root/kwin/clients/test/test.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
commitfd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch)
tree9eda848e56fcb862fdfdf479adeccd95b6fe387a /kwin/clients/test/test.cpp
parent02f67d0e1355b79b1806746efb0f2f640e57f13d (diff)
downloadtdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz
tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/clients/test/test.cpp')
-rw-r--r--kwin/clients/test/test.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kwin/clients/test/test.cpp b/kwin/clients/test/test.cpp
index 3bb759349..a04437067 100644
--- a/kwin/clients/test/test.cpp
+++ b/kwin/clients/test/test.cpp
@@ -93,7 +93,7 @@ void Decoration::resize( const TQSize& s )
widget()->resize( s );
}
-TQSize Decoration::tqminimumSize() const
+TQSize Decoration::minimumSize() const
{
return TQSize( 100, 50 );
}
@@ -144,7 +144,7 @@ bool Decoration::animateMinimize(bool iconify)
// Go away quick.
helperShowHide( false );
- tqApp->syncX();
+ qApp->syncX();
TQRect r = iconGeometry();
@@ -153,8 +153,8 @@ bool Decoration::animateMinimize(bool iconify)
// Algorithm taken from Window Maker (http://www.windowmaker.org)
- int sx = tqgeometry().x();
- int sy = tqgeometry().y();
+ int sx = geometry().x();
+ int sy = geometry().y();
int sw = width();
int sh = height();
int dx = r.x();
@@ -213,7 +213,7 @@ bool Decoration::animateMinimize(bool iconify)
ungrabXServer();
-// FRAME tqApp->processEvents(); // FRAME ???
+// FRAME qApp->processEvents(); // FRAME ???
cx += xstep;
cy += ystep;
@@ -236,11 +236,11 @@ bool Decoration::animateMinimize(bool iconify)
// Go away quick.
helperShowHide( false );
- tqApp->syncX();
+ qApp->syncX();
int stepCount = 12;
- TQRect r(tqgeometry());
+ TQRect r(geometry());
int dx = r.width() / (stepCount * 2);
int dy = r.height() / (stepCount * 2);
@@ -263,7 +263,7 @@ bool Decoration::animateMinimize(bool iconify)
ungrabXServer();
-// FRAME tqApp->processEvents();
+// FRAME qApp->processEvents();
}
}
break;
@@ -276,7 +276,7 @@ bool Decoration::animateMinimize(bool iconify)
if (!icongeom.isValid())
return true;
- TQRect wingeom = tqgeometry();
+ TQRect wingeom = geometry();
TQPainter p( workspaceWidget());
@@ -298,7 +298,7 @@ bool Decoration::animateMinimize(bool iconify)
p.flush();
- tqApp->syncX();
+ qApp->syncX();
usleep(30000);