c++ - Access base class function from derived class -


i wanted ask if im understanding process right: http://doc.trolltech.com/qq/qq17-ratecontrol.html#whoneedstrafficcontrolanyway in example there rctcpsocket derived qtcpsocket in member function of qtcpsocket overwritten, namely qint64 rctcpsocket::bytesavailable() const. following line call member function direclty base class: qtcpsocket::bytesavailable()

i mean qtcpsocket additional functions , overwritten function bytesavailable(). call non-overwritten function?

this syntax forms indeed allows call ascendant implementation of function , not overridden one.

most usefull if want add code own class implementation still let parent class "core stuff"


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -