This may be a ridiculous question. And it may be just a C++ question. But I am totally lost here.
I would think that if I have declared an object, say a QListView, in a header file, but have not yet initialized that object, I could test for that declared but not initialized state with
Code:
if(sequenceList == NULL)
where sequenceList is the name of my QListView. But it is always returning false, whether initialized or not. I've also tried:
Code:
if(sequenceList == null)
and
Code:
if(sequenceList == 0)
What am I doing wrong here? Any help would be greatly appreciated.
Thanks,
Derek