summaryrefslogtreecommitdiffstats
path: root/kpresenter/autoformEdit/ATFInterpreter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/autoformEdit/ATFInterpreter.cpp')
-rw-r--r--kpresenter/autoformEdit/ATFInterpreter.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kpresenter/autoformEdit/ATFInterpreter.cpp b/kpresenter/autoformEdit/ATFInterpreter.cpp
index 5f010518..0f01368a 100644
--- a/kpresenter/autoformEdit/ATFInterpreter.cpp
+++ b/kpresenter/autoformEdit/ATFInterpreter.cpp
@@ -199,7 +199,7 @@ TQPointArray ATFInterpreter::getPointArray(int wid,int heig)
if (i == 14) py = tmp;
}
}
- pntArray.setPoint(coordList.tqat(),px,py);
+ pntArray.setPoint(coordList.at(),px,py);
}
}
return pntArray;
@@ -239,7 +239,7 @@ void ATFInterpreter::interpret()
for (TQStringList::Iterator it=lines.begin(); it!=lines.end(); ++it)
{
- if (!(*it).isEmpty() && (*it).tqat(0) != COMMENT)
+ if (!(*it).isEmpty() && (*it).at(0) != COMMENT)
{
if (level.top() == LEVEL_NULL)
{
@@ -265,7 +265,7 @@ void ATFInterpreter::interpret()
}
else if (level.top() == LEVEL_X || level.top() == LEVEL_Y || level.top() == LEVEL_ATTR)
{
- switch (((*it).tqat(0)).latin1())
+ switch (((*it).at(0)).latin1())
{
case VAR_1:
{
@@ -310,7 +310,7 @@ void ATFInterpreter::interpret()
} break;
case VAR_PW:
{
- pw = 1; pw = ((*it).tqat(4)).latin1() - 48;
+ pw = 1; pw = ((*it).at(4)).latin1() - 48;
attrib.pwDiv = (*it);
} break;
case '}':
@@ -363,10 +363,10 @@ TQPtrList<ATFInterpreter::Sign> ATFInterpreter::getVar(const TQString &s)
for (unsigned int i=1; i<s.length(); ++i)
{
- if(s.tqat(i)==' ')
+ if(s.at(i)==' ')
continue;
signPtr = new Sign;
- switch (s.tqat(i).latin1())
+ switch (s.at(i).latin1())
{
case VAR_W: signPtr->type = ST_WIDTH; break;
case VAR_H: signPtr->type = ST_HEIGHT; break;
@@ -431,20 +431,20 @@ TQPtrList<ATFInterpreter::Sign> ATFInterpreter::getVar(const TQString &s)
signPtr->type = ST_NUMBER;
if (s.length() - 1 > i)
{
- switch (s.tqat(i+1).latin1())
+ switch (s.at(i+1).latin1())
{
case NUM_0: case NUM_1: case NUM_2: case NUM_3: case NUM_4:
case NUM_5: case NUM_6: case NUM_7: case NUM_8: case NUM_9:
{
- signPtr->num = (s.tqat(i).latin1() - 48) * 10 + s.tqat(i+1).latin1() - 48;
+ signPtr->num = (s.at(i).latin1() - 48) * 10 + s.at(i+1).latin1() - 48;
i++;
} break;
default:
- signPtr->num = s.tqat(i).latin1() - 48; break;
+ signPtr->num = s.at(i).latin1() - 48; break;
}
}
else
- signPtr->num = s.tqat(i).latin1() - 48;
+ signPtr->num = s.at(i).latin1() - 48;
} break;
}
list.append(signPtr);