Commit a7e83abf authored by Thiago Macieira's avatar Thiago Macieira
Browse files

Adapt to no k_funcinfo

svn path=/trunk/playground/utils/abakus/; revision=702621
parent a90251db
......@@ -46,18 +46,18 @@ Evaluator::~Evaluator()
void Evaluator::setExpression(const QString &expr)
{
kdError() << k_funcinfo << " not implemented.\n";
kdError() << " not implemented.\n";
}
QString Evaluator::expression() const
{
kdError() << k_funcinfo << " not implemented.\n";
kdError() << " not implemented.\n";
return QString();
}
void Evaluator::clear()
{
kdError() << k_funcinfo << " not implemented.\n";
kdError() << " not implemented.\n";
// Yeah, whatever.
}
......@@ -68,7 +68,7 @@ bool Evaluator::isValid() const
Tokens Evaluator::tokens() const
{
kdError() << k_funcinfo << " not implemented.\n";
kdError() << " not implemented.\n";
return Tokens();
}
......@@ -120,7 +120,7 @@ Tokens Evaluator::scan(const QString &expr)
QString Evaluator::error() const
{
kdError() << k_funcinfo << " not implemented.\n";
kdError() << " not implemented.\n";
return "No Error Yet";
}
......
......@@ -196,7 +196,7 @@ Abakus::number_t DerivativeFunction::value() const
Abakus::number_t DerivativeFunction::derivative() const
{
kdError() << k_funcinfo << endl;
kdError() << endl;
kdError() << "This function is never supposed to be called!\n";
return m_operand->derivative();
......
......@@ -212,7 +212,7 @@ Abakus::number_t RPNParser::rpnParseString(const QString &text)
default:
// Impossible case happened.
kdError() << "Impossible case happened in " << k_funcinfo << endl;
kdError() << "Impossible case happened in " << endl;
m_error = true;
m_errorStr = "Bug found in program, please report.";
return Abakus::number_t::nan();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment