summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_cluster.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_cluster.cc')
-rw-r--r--kspread/kspread_cluster.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/kspread/kspread_cluster.cc b/kspread/kspread_cluster.cc
index 74d0e3395..21fe0ef0f 100644
--- a/kspread/kspread_cluster.cc
+++ b/kspread/kspread_cluster.cc
@@ -213,25 +213,25 @@ void Cluster::remove( int x, int y )
}
}
-bool Cluster::shiftRow( const QPoint& marker )
+bool Cluster::shiftRow( const TQPoint& marker )
{
bool dummy;
return shiftRow( marker, dummy );
}
-bool Cluster::shiftColumn( const QPoint& marker )
+bool Cluster::shiftColumn( const TQPoint& marker )
{
bool dummy;
return shiftColumn( marker, dummy );
}
-void Cluster::unshiftColumn( const QPoint& marker )
+void Cluster::unshiftColumn( const TQPoint& marker )
{
bool dummy;
unshiftColumn( marker, dummy );
}
-void Cluster::unshiftRow( const QPoint& marker )
+void Cluster::unshiftRow( const TQPoint& marker )
{
bool dummy;
unshiftRow( marker, dummy );
@@ -252,7 +252,7 @@ Cell* Cluster::firstCell() const
return m_first;
}
-bool Cluster::shiftRow( const QPoint& marker, bool& work )
+bool Cluster::shiftRow( const TQPoint& marker, bool& work )
{
work = false;
@@ -309,7 +309,7 @@ bool Cluster::shiftRow( const QPoint& marker, bool& work )
return true;
}
-bool Cluster::shiftColumn( const QPoint& marker, bool& work )
+bool Cluster::shiftColumn( const TQPoint& marker, bool& work )
{
work = false;
@@ -391,7 +391,7 @@ bool Cluster::insertColumn( int col )
{
bool work = true;
for( int t2 = 0; work && t2 < KSPREAD_CLUSTER_LEVEL2; ++t2 )
- shiftRow( QPoint( col, t1 * KSPREAD_CLUSTER_LEVEL2 + t2 ), work );
+ shiftRow( TQPoint( col, t1 * KSPREAD_CLUSTER_LEVEL2 + t2 ), work );
}
return true;
@@ -421,13 +421,13 @@ bool Cluster::insertRow( int row )
{
bool work = true;
for( int t2 = 0; work && t2 < KSPREAD_CLUSTER_LEVEL2; ++t2 )
- shiftColumn( QPoint( t1 * KSPREAD_CLUSTER_LEVEL2 + t2, row ), work );
+ shiftColumn( TQPoint( t1 * KSPREAD_CLUSTER_LEVEL2 + t2, row ), work );
}
return true;
}
-void Cluster::unshiftColumn( const QPoint& marker, bool& work )
+void Cluster::unshiftColumn( const TQPoint& marker, bool& work )
{
work = false;
@@ -475,7 +475,7 @@ void Cluster::unshiftColumn( const QPoint& marker, bool& work )
setAutoDelete( a );
}
-void Cluster::unshiftRow( const QPoint& marker, bool& work )
+void Cluster::unshiftRow( const TQPoint& marker, bool& work )
{
work = false;
@@ -548,7 +548,7 @@ void Cluster::removeColumn( int col )
{
bool work = true;
for( int t2 = 0; work && t2 < KSPREAD_CLUSTER_LEVEL2; ++t2 )
- unshiftRow( QPoint( col, t1 * KSPREAD_CLUSTER_LEVEL2 + t2 ), work );
+ unshiftRow( TQPoint( col, t1 * KSPREAD_CLUSTER_LEVEL2 + t2 ), work );
}
}
@@ -577,7 +577,7 @@ void Cluster::removeRow( int row )
{
bool work = true;
for( int t2 = 0; work && t2 < KSPREAD_CLUSTER_LEVEL2; ++t2 )
- unshiftColumn( QPoint( t1 * KSPREAD_CLUSTER_LEVEL2 + t2, row ), work );
+ unshiftColumn( TQPoint( t1 * KSPREAD_CLUSTER_LEVEL2 + t2, row ), work );
}
}
@@ -1039,7 +1039,7 @@ bool ColumnCluster::insertColumn( int col )
int cx = col / KSPREAD_CLUSTER_LEVEL2;
int dx = col % KSPREAD_CLUSTER_LEVEL2;
- // Is there a column layout at the right most position ?
+ // Is there a column tqlayout at the right most position ?
// In this case the shift is impossible.
ColumnFormat** cl = m_cluster[ KSPREAD_CLUSTER_LEVEL1 - 1 ];
if ( cl && cl[ KSPREAD_CLUSTER_LEVEL2 - 1 ] )
@@ -1356,7 +1356,7 @@ bool RowCluster::insertRow( int row )
int cx = row / KSPREAD_CLUSTER_LEVEL2;
int dx = row % KSPREAD_CLUSTER_LEVEL2;
- // Is there a row layout at the bottom most position ?
+ // Is there a row tqlayout at the bottom most position ?
// In this case the shift is impossible.
RowFormat** cl = m_cluster[ KSPREAD_CLUSTER_LEVEL1 - 1 ];
if ( cl && cl[ KSPREAD_CLUSTER_LEVEL2 - 1 ] )