Hello!

When I learned C++ I learned that when constructing a class one could create more than one constructor function for that class. In fact, we see this in various of the Qt's own classes.

But the problem is that I'm being unable to do the same in my classes; Qt simply don't accept it.

Could somebody please provide me with an example of how can I put two or more constructor functions in one class in Qt?

Thanks!


Momergil