diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:31 -0600 |
commit | c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch) | |
tree | 1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kspread/kspread_util.cc | |
parent | 94844816550ad672ccfcdc25659c625546239998 (diff) | |
download | koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kspread/kspread_util.cc')
-rw-r--r-- | kspread/kspread_util.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kspread/kspread_util.cc b/kspread/kspread_util.cc index e84f1d47..47edd2ac 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_paperlayout.cc +// dialogs/kspread_dlg_papertqlayout.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_paperlayout.cc +//used in dialogs/kspread_dlg_papertqlayout.cc TQString KSpread::util_rangeColumnName( const TQRect &_area) { return TQString("%1:%2") - .arg( Cell::columnName( _area.left())) - .arg( Cell::columnName(_area.right())); + .tqarg( Cell::columnName( _area.left())) + .tqarg( Cell::columnName(_area.right())); } -//used in dialogs/kspread_dlg_paperlayout.cc +//used in dialogs/kspread_dlg_papertqlayout.cc TQString KSpread::util_rangeRowName( const TQRect &_area) { return TQString("%1:%2") - .arg( _area.top()) - .arg(_area.bottom()); + .tqarg( _area.top()) + .tqarg(_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 " ).arg( (pen.width() == 0) ? 1 : pen.width() ); + TQString s = TQString( "%1pt " ).tqarg( (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.unicode() == '[' ) + else if ( ch.tqunicode() == '[' ) { ++i; state = InReference; |