1.1 --- a/parser.cpp Tue Jun 19 14:20:29 2007 +0000
1.2 +++ b/parser.cpp Tue Jun 19 14:20:30 2007 +0000
1.3 @@ -98,7 +98,7 @@
1.4 return paramList;
1.5 }
1.6
1.7 -int Parser::paramCount()
1.8 +int Parser::parCount()
1.9 {
1.10 return paramList.count();
1.11 }
1.12 @@ -141,13 +141,13 @@
1.13 }
1.14
1.15
1.16 -bool Parser::checkParamCount (QList <int> plist)
1.17 +bool Parser::checkParCount (QList <int> plist)
1.18 {
1.19 QStringList expList;
1.20 QString expected;
1.21 for (int i=0; i<plist.count();i++)
1.22 {
1.23 - if (checkParamCount (plist[i]))
1.24 + if (checkParCount (plist[i]))
1.25 {
1.26 resetError();
1.27 return true;
1.28 @@ -159,7 +159,7 @@
1.29 return false;
1.30 }
1.31
1.32 -bool Parser::checkParamCount (const int &expected)
1.33 +bool Parser::checkParCount (const int &expected)
1.34 {
1.35 if (paramList.count()!=expected)
1.36 {
1.37 @@ -170,7 +170,7 @@
1.38 return true;
1.39 }
1.40
1.41 -bool Parser::checkParamIsInt(const int &index)
1.42 +bool Parser::checkParIsInt(const int &index)
1.43 {
1.44 bool ok;
1.45 if (index > paramList.count())
1.46 @@ -193,7 +193,7 @@
1.47
1.48 int Parser::parInt (bool &ok,const uint &index)
1.49 {
1.50 - if (checkParamIsInt (index))
1.51 + if (checkParIsInt (index))
1.52 return paramList[index].toInt (&ok, 10);
1.53 ok=false;
1.54 return 0;