summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_util.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kspread/kspread_util.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kspread/kspread_util.cc')
-rw-r--r--kspread/kspread_util.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/kspread/kspread_util.cc b/kspread/kspread_util.cc
index 47edd2ac..e84f1d47 100644
--- a/kspread/kspread_util.cc
+++ b/kspread/kspread_util.cc
@@ -53,7 +53,7 @@ bool KSpread::formatIsFraction (FormatType fmt)
//used in Point::init, Cell::encodeFormula and
-// dialogs/kspread_dlg_papertqlayout.cc
+// dialogs/kspread_dlg_paperlayout.cc
int KSpread::util_decodeColumnLabelText( const TQString &_col )
{
int col = 0;
@@ -72,20 +72,20 @@ int KSpread::util_decodeColumnLabelText( const TQString &_col )
return col;
}
-//used in dialogs/kspread_dlg_papertqlayout.cc
+//used in dialogs/kspread_dlg_paperlayout.cc
TQString KSpread::util_rangeColumnName( const TQRect &_area)
{
return TQString("%1:%2")
- .tqarg( Cell::columnName( _area.left()))
- .tqarg( Cell::columnName(_area.right()));
+ .arg( Cell::columnName( _area.left()))
+ .arg( Cell::columnName(_area.right()));
}
-//used in dialogs/kspread_dlg_papertqlayout.cc
+//used in dialogs/kspread_dlg_paperlayout.cc
TQString KSpread::util_rangeRowName( const TQRect &_area)
{
return TQString("%1:%2")
- .tqarg( _area.top())
- .tqarg(_area.bottom());
+ .arg( _area.top())
+ .arg(_area.bottom());
}
TQString KSpread::util_rangeName(const TQRect &_area)
@@ -933,7 +933,7 @@ TQString KSpread::convertOasisPenToString( const TQPen & pen )
// a fast algorithm for diagonals. A line width of 1 will
// also produce a 1 pixel wide line, but uses a slower more
// accurate algorithm for diagonals.
- TQString s = TQString( "%1pt " ).tqarg( (pen.width() == 0) ? 1 : pen.width() );
+ TQString s = TQString( "%1pt " ).arg( (pen.width() == 0) ? 1 : pen.width() );
switch( pen.style() )
{
case TQt::NoPen:
@@ -1065,7 +1065,7 @@ TQString KSpread::Oasis::decodeFormula(const TQString& expr, const KLocale* loca
}
// [ marks sheet name for 3-d cell, e.g ['Sales Q3'.A4]
- else if ( ch.tqunicode() == '[' )
+ else if ( ch.unicode() == '[' )
{
++i;
state = InReference;