diff options
Diffstat (limited to 'kspread/kspread_functions_math.cc')
-rw-r--r-- | kspread/kspread_functions_math.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kspread/kspread_functions_math.cc b/kspread/kspread_functions_math.cc index b1133b1c..702160bc 100644 --- a/kspread/kspread_functions_math.cc +++ b/kspread/kspread_functions_math.cc @@ -172,7 +172,7 @@ void RegisterMathFunctions() f = new Function ("POWER", func_pow); f->setParamCount (2); repo->add (f); - f = new Function ("QUOTIENT", func_quotient); + f = new Function ("TQUOTIENT", func_quotient); f->setParamCount (2); repo->add (f); f = new Function ("RAND", func_rand); @@ -424,7 +424,7 @@ Value func_suma (valVector args, ValueCalc *calc, FuncExtra *) Value func_sumif (valVector args, ValueCalc *calc, FuncExtra *) { Value checkRange = args[0]; - QString condition = calc->conv()->asString (args[1]).asString(); + TQString condition = calc->conv()->asString (args[1]).asString(); Value sumRange = checkRange; if (args.count() == 3) sumRange = args[2]; @@ -502,7 +502,7 @@ Value func_int (valVector args, ValueCalc *calc, FuncExtra *) return calc->conv()->asInteger (args[0]); } -// Function: QUOTIENT +// Function: TQUOTIENT Value func_quotient (valVector args, ValueCalc *calc, FuncExtra *) { if (calc->isZero (args[1])) @@ -811,7 +811,7 @@ Value func_countblank (valVector args, ValueCalc *, FuncExtra *) Value func_countif (valVector args, ValueCalc *calc, FuncExtra *) { Value range = args[0]; - QString condition = calc->conv()->asString (args[1]).asString(); + TQString condition = calc->conv()->asString (args[1]).asString(); Condition cond; calc->getCond (cond, condition); @@ -994,7 +994,7 @@ Value func_subtotal (valVector args, ValueCalc *calc, FuncExtra *e) Cell *cell = e->sheet->cellAt (c, r); if (cell->isDefault()) continue; - if (cell->isFormula() && cell->text().find ("SUBTOTAL", 0, false) != -1) + if (cell->isFormula() && cell->text().tqfind ("SUBTOTAL", 0, false) != -1) // cell contains the word SUBTOTAL - replace value with empty range.setElement (c-c1, r-r1, empty); } @@ -1069,8 +1069,8 @@ Value func_multipleOP (valVector args, ValueCalc *calc, FuncExtra *) gCell = ((Interpreter *) context.interpreter() )->cell(); - QValueList<KSValue::Ptr>& args = context.value()->listValue(); - QValueList<KSValue::Ptr>& extra = context.extraData()->listValue(); + TQValueList<KSValue::Ptr>& args = context.value()->listValue(); + TQValueList<KSValue::Ptr>& extra = context.extraData()->listValue(); if ( !KSUtil::checkArgumentsCount( context, 5, "MULTIPLEOPERATIONS", true ) ) { |