summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_cluster.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kspread/kspread_cluster.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspread/kspread_cluster.h')
-rw-r--r--kspread/kspread_cluster.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kspread/kspread_cluster.h b/kspread/kspread_cluster.h
index f7963f08..702fc746 100644
--- a/kspread/kspread_cluster.h
+++ b/kspread/kspread_cluster.h
@@ -26,7 +26,7 @@
#define KSPREAD_CLUSTER_LEVEL2 256
#define KSPREAD_CLUSTER_MAX (128*256)
-class QPoint;
+class TQPoint;
namespace KSpread
{
@@ -98,7 +98,7 @@ public:
Cell* firstCell() const;
- bool shiftRow( const QPoint& marker );
+ bool shiftRow( const TQPoint& marker );
/**
* Moves all cells in the column marker.x() beginning with
* the one at marker.y() one position downwards.
@@ -106,14 +106,14 @@ public:
* @return false if a cell would drop out of the sheet because of that.
* In this case the shift is not performed.
*/
- bool shiftColumn( const QPoint& marker );
+ bool shiftColumn( const TQPoint& marker );
/**
* Moves all cells in the column marker.x() beginning with
* the one at marker.y() + 1 one position upwards.
*/
- void unshiftColumn( const QPoint& marker );
- void unshiftRow( const QPoint& marker );
+ void unshiftColumn( const TQPoint& marker );
+ void unshiftRow( const TQPoint& marker );
/**
* Moves all columns beginning with @p col one position
@@ -243,11 +243,11 @@ private:
* @param work is set to true if the method found some clusters
* which belong to the shifted row.
*/
- bool shiftRow( const QPoint& marker, bool& work );
- bool shiftColumn( const QPoint& marker, bool& work );
+ bool shiftRow( const TQPoint& marker, bool& work );
+ bool shiftColumn( const TQPoint& marker, bool& work );
- void unshiftColumn( const QPoint& marker, bool& work );
- void unshiftRow( const QPoint& marker, bool& work );
+ void unshiftColumn( const TQPoint& marker, bool& work );
+ void unshiftRow( const TQPoint& marker, bool& work );
/** helper method used by valueRange */
Value makeArray (int col1, int row1, int col2, int row2) const;