summaryrefslogtreecommitdiffstats
path: root/kwin/placement.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kwin/placement.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/placement.h')
-rw-r--r--kwin/placement.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kwin/placement.h b/kwin/placement.h
index 49b436d49..65db2df34 100644
--- a/kwin/placement.h
+++ b/kwin/placement.h
@@ -13,8 +13,8 @@ License. See the file "COPYING" for the exact licensing terms.
#ifndef KWIN_PLACEMENT_H
#define KWIN_PLACEMENT_H
-#include <qpoint.h>
-#include <qvaluelist.h>
+#include <tqpoint.h>
+#include <tqvaluelist.h>
namespace KWinInternal
{
@@ -49,40 +49,40 @@ class Placement
Maximizing
};
- void place(Client* c, QRect& area );
+ void place(Client* c, TQRect& area );
- void placeAtRandom (Client* c, const QRect& area, Policy next = Unknown );
- void placeCascaded (Client* c, QRect& area, Policy next = Unknown );
- void placeSmart (Client* c, const QRect& area, Policy next = Unknown );
- void placeMaximizing (Client* c, QRect& area, Policy next = Unknown );
- void placeCentered (Client* c, const QRect& area, Policy next = Unknown );
- void placeZeroCornered(Client* c, const QRect& area, Policy next = Unknown );
- void placeDialog (Client* c, QRect& area, Policy next = Unknown );
- void placeUtility (Client* c, QRect& area, Policy next = Unknown );
+ void placeAtRandom (Client* c, const TQRect& area, Policy next = Unknown );
+ void placeCascaded (Client* c, TQRect& area, Policy next = Unknown );
+ void placeSmart (Client* c, const TQRect& area, Policy next = Unknown );
+ void placeMaximizing (Client* c, TQRect& area, Policy next = Unknown );
+ void placeCentered (Client* c, const TQRect& area, Policy next = Unknown );
+ void placeZeroCornered(Client* c, const TQRect& area, Policy next = Unknown );
+ void placeDialog (Client* c, TQRect& area, Policy next = Unknown );
+ void placeUtility (Client* c, TQRect& area, Policy next = Unknown );
void reinitCascading( int desktop );
- static Policy policyFromString( const QString& policy, bool no_special );
+ static Policy policyFromString( const TQString& policy, bool no_special );
static const char* policyToString( Policy policy );
private:
- void place(Client* c, QRect& area, Policy policy, Policy nextPlacement = Unknown );
- void placeUnderMouse(Client* c, QRect& area, Policy next = Unknown );
- void placeOnMainWindow(Client* c, QRect& area, Policy next = Unknown );
- QRect checkArea( const Client*c, const QRect& area );
+ void place(Client* c, TQRect& area, Policy policy, Policy nextPlacement = Unknown );
+ void placeUnderMouse(Client* c, TQRect& area, Policy next = Unknown );
+ void placeOnMainWindow(Client* c, TQRect& area, Policy next = Unknown );
+ TQRect checkArea( const Client*c, const TQRect& area );
Placement();
//CT needed for cascading+
struct DesktopCascadingInfo
{
- QPoint pos;
+ TQPoint pos;
int col;
int row;
};
- QValueList<DesktopCascadingInfo> cci;
+ TQValueList<DesktopCascadingInfo> cci;
Workspace* m_WorkspacePtr;
};