summaryrefslogtreecommitdiffstats
path: root/kmplot/kmplot/xparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmplot/kmplot/xparser.cpp')
-rw-r--r--kmplot/kmplot/xparser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmplot/kmplot/xparser.cpp b/kmplot/kmplot/xparser.cpp
index b5d03918..e7b84fb8 100644
--- a/kmplot/kmplot/xparser.cpp
+++ b/kmplot/kmplot/xparser.cpp
@@ -148,7 +148,7 @@ void XParser::findFunctionName(TQString &function_name, int const id, int const
for (bool ok=true; last_character<'x'; ++last_character)
{
if ( pos==0 && last_character == 'r') continue;
- function_name.tqat(pos)=last_character;
+ function_name.at(pos)=last_character;
for( TQValueVector<Ufkt>::iterator it = ufkt.begin(); it != ufkt.end(); ++it)
{
if (it == ufkt.begin() && it->fname.isEmpty() ) continue;
@@ -162,7 +162,7 @@ void XParser::findFunctionName(TQString &function_name, int const id, int const
}
ok = true;
}
- function_name.tqat(pos)='f';
+ function_name.at(pos)='f';
function_name.append('f');
}
function_name = "e"; //this should never happen
@@ -667,7 +667,7 @@ int XParser::addFunction(const TQString &f_str)
bool XParser::addFunction(const TQString &fstr_const, bool f_mode, bool f1_mode, bool f2_mode, bool integral_mode, bool integral_use_precision, int linewidth, int f1_linewidth, int f2_linewidth, int integral_linewidth, const TQString &str_dmin, const TQString &str_dmax, const TQString &str_startx, const TQString &str_starty, double integral_precision, TQRgb color, TQRgb f1_color, TQRgb f2_color, TQRgb integral_color, TQStringList str_parameter, int use_slider)
{
TQString fstr(fstr_const);
- switch ( fstr.tqat(0).latin1() )
+ switch ( fstr.at(0).latin1() )
{
case 'r':
{