S
Steven T. Hatton
I was merely repeating what I was told by people at TrollTech. That's why ILeor said:Well, all I had to go on (since I've never even heard of "Qt" before this
thread) was what Steven T. Hatton wrote, that "it is all standard C++".
backed off. I don't understand it well enough to substantiate the claim.
But basically, Signals and Slots are implemented with high powered macros
of some kind.
http://doc.trolltech.com/3.3/moc.html
As
we've learned around here, Steven is never wrong.
-leor
I've never claimed I'm never wrong. And sometimes when I'm right, I don't
even know it. E.g., taking out the name hiding stuff in that virtual
inheritance example. That was just plain dumb luck. I took out the part I
didn't understand, and started pulling the example apart.
BTW, you were intimating I might to better to chose another book. A few
things I should point out. I put the book down for several months, so I'm
really rusty on the first part. I haven't been working the exercises.
(like I did with the Feynman Lectures on Physics - no I never finished the
entire 3 Volumes, but I do still have the (original) problem sets. :-D ) I
suspect Stroustrup put some of the important lessons in the problems. It
seems to me, his goal is to teach you how to think about solving the kind
of problem in question at the fundamental level, not by a set of memorized
rules. That's what you took for me knowing more than I let on. It all just
fell into place.
There was another thread going on at the same time discussing how to do
things in the opposite direction. That is, call the functions in the
baseclass not the derived class. I need to revisit that topic.