Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How is it able to be a QAreaSeries* and mSeries at the same time? Or how does this work?

QAreaSeries* areaSeries = new QAreaSeries(mSeries);


What I have tried:

<pre>How is it able to be a QAreaSeries* and mSeries at the same time? Or how does this work?

QAreaSeries* areaSeries = new QAreaSeries(mSeries);
Posted
Updated 5-Nov-20 19:50pm

1 solution

As I said yesterday, you need to learn the basics. In this case, it's called inheritance, and it's one of the fundamental pillars of OOPs: Inheritance (object-oriented programming) - Wikipedia[^]

Seriously, you need to learn the basics - you are wasting so much of your time asking about each individual bit of the language and still missing huge amounts because you haven't.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900