I am new to Qt and have trouble understanding the help document, wish some one can help, much appreciated.
For example:
void QList::append(const T & value)
I can see the return type is void, and it is a member function of QList.
But what in the brackets really confused me, what does it mean by const T & value ?
I tried using a regular QString variable as argument and it worked fine, then why const?
Another example is
 void QFile::setFileName(const QString & name)
The sample code provided in the help document is:
QFile file;
file.setFileName("readme.txt");
I can not figure out what QString & name means, does it have something to do with reference?
 
     
     
    