api.cpp
changeset 377 5391ab620c95
parent 364 7b74fa3772bf
child 394 67cfa6e6b863
     1.1 --- a/api.cpp	Tue Sep 05 15:05:18 2006 +0000
     1.2 +++ b/api.cpp	Wed Sep 06 12:47:06 2006 +0000
     1.3 @@ -92,7 +92,7 @@
     1.4  	errorString=e;
     1.5  }
     1.6  
     1.7 -bool API::checkParamCount (const uint &expected)
     1.8 +bool API::checkParamCount (const int &expected)
     1.9  {
    1.10  	if (paramList.count()!=expected)
    1.11  	{
    1.12 @@ -103,7 +103,7 @@
    1.13  	return noErr;	
    1.14  }
    1.15  
    1.16 -bool API::checkParamIsInt(const uint &index)
    1.17 +bool API::checkParamIsInt(const int &index)
    1.18  {
    1.19  	bool ok;
    1.20  	if (index > paramList.count())
    1.21 @@ -131,7 +131,7 @@
    1.22  	return 0;
    1.23  }
    1.24  
    1.25 -QString API::parString (bool &ok,const uint &index)
    1.26 +QString API::parString (bool &ok,const int &index)
    1.27  {
    1.28  	// return the string at index, this could be also stored in
    1.29  	// a variable later