Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Foldertype "Application"
#6
Quote:For good inherantacy should "class Class3 :Class1'c d" not be "class Class3 :Class1 c d" ?

In C++ it would be :public Class1, but in QM it is :Class1'c. In memory it is the same anyway, and in C++ too. And instaed of __super::FuncA1() you can use c.FuncA1().

The code in QM is
Code:
Copy      Help
class MainClass --TYPENAME'a b
MainClass class1

, and "Protected" is checked in MainClass.FuncA1 properties dialog.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)