keifer
11th March 2008, 00:13
I'm still rather new to both c++ and qt4, so please bear with me. My question is what exactly does the -> operator do? I've looked in both the Qt4 Tutorial and my copy of the C++ Primer, and I've yet to find anything on it.
Basically I wish to know why:
myButton->setEnabled(!text.isEmtpy());
differs from:
myButton.setEnabled(!text.isEmpty());
Basically I wish to know why:
myButton->setEnabled(!text.isEmtpy());
differs from:
myButton.setEnabled(!text.isEmpty());