c++ - Get access to parent variables from child class in qt -


i have 2 class in qt. in 1 declared variables , child qframe class qpainter. now, if it's possible, how can access parent variables child class? know can pass variables signals , slots or catch child qpainter events, think nice access directly.

it boils down visibility of data in base class. if data public or protected have access it. otherwise, data private , don't have direct access it.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -