diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
commit | 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch) | |
tree | daabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kwin/clients/test | |
parent | 50001f1757f97510e80cb1990e2f2d5b00144c2a (diff) | |
download | tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/clients/test')
-rw-r--r-- | kwin/clients/test/test.cpp | 20 | ||||
-rw-r--r-- | kwin/clients/test/test.h | 2 |
2 files changed, 11 insertions, 11 deletions
diff --git a/kwin/clients/test/test.cpp b/kwin/clients/test/test.cpp index a04437067..3bb759349 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::minimumSize() const +TQSize Decoration::tqminimumSize() const { return TQSize( 100, 50 ); } @@ -144,7 +144,7 @@ bool Decoration::animateMinimize(bool iconify) // Go away quick. helperShowHide( false ); - qApp->syncX(); + tqApp->syncX(); TQRect r = iconGeometry(); @@ -153,8 +153,8 @@ bool Decoration::animateMinimize(bool iconify) // Algorithm taken from Window Maker (http://www.windowmaker.org) - int sx = geometry().x(); - int sy = geometry().y(); + int sx = tqgeometry().x(); + int sy = tqgeometry().y(); int sw = width(); int sh = height(); int dx = r.x(); @@ -213,7 +213,7 @@ bool Decoration::animateMinimize(bool iconify) ungrabXServer(); -// FRAME qApp->processEvents(); // FRAME ??? +// FRAME tqApp->processEvents(); // FRAME ??? cx += xstep; cy += ystep; @@ -236,11 +236,11 @@ bool Decoration::animateMinimize(bool iconify) // Go away quick. helperShowHide( false ); - qApp->syncX(); + tqApp->syncX(); int stepCount = 12; - TQRect r(geometry()); + TQRect r(tqgeometry()); int dx = r.width() / (stepCount * 2); int dy = r.height() / (stepCount * 2); @@ -263,7 +263,7 @@ bool Decoration::animateMinimize(bool iconify) ungrabXServer(); -// FRAME qApp->processEvents(); +// FRAME tqApp->processEvents(); } } break; @@ -276,7 +276,7 @@ bool Decoration::animateMinimize(bool iconify) if (!icongeom.isValid()) return true; - TQRect wingeom = geometry(); + TQRect wingeom = tqgeometry(); TQPainter p( workspaceWidget()); @@ -298,7 +298,7 @@ bool Decoration::animateMinimize(bool iconify) p.flush(); - qApp->syncX(); + tqApp->syncX(); usleep(30000); diff --git a/kwin/clients/test/test.h b/kwin/clients/test/test.h index bfe36fa7c..e1d3d51a6 100644 --- a/kwin/clients/test/test.h +++ b/kwin/clients/test/test.h @@ -22,7 +22,7 @@ class Decoration virtual MousePosition mousePosition( const TQPoint& p ) const; virtual void borders( int& left, int& right, int& top, int& bottom ) const; virtual void resize( const TQSize& s ); - virtual TQSize minimumSize() const; + virtual TQSize tqminimumSize() const; virtual void activeChange() {}; virtual void captionChange() {}; virtual void maximizeChange() {}; |