I am running Kubuntu 8.04, Qt-4.4 and I want to check whether a "QFrame" is visible
if(frameA2.isVisible() == true) (frameA2->hide());
if(frameA2.isVisible() == true) (frameA2->hide());
To copy to clipboard, switch view to plain text mode
and I get
baseform.cpp:1250: error: request for member ‘isVisible’ in ‘((BaseForm*)this)->BaseForm::frameA2’, which is of non-class type ‘QFrame*’
If I have just
frameA2->hide();
frameA2->hide();
To copy to clipboard, switch view to plain text mode
without checking, it works fine.
Help would be appreciated.
Bookmarks