Qt-interest Archive, March 2002
RE: RE: difference betwaeen...
Message 1 in thread
Thanks, i find the soluce of my pb, i 'm stupid, i forgot an * to define a pointer when i instance my class ScalesBodyPopup* pop; :-p
But i have an other pb: i have an other pb:
i have a Qpixmap* poppix and it had a mask, when i code :
setmask(poppix->mask();
(setmask is for my class inherits of QWidget)
i have this error when i compile:
error C2248: 'QRegion::QRegion' : cannot access private member declared in class 'QRegion'
qregion.h(109) : see declaration of 'QRegion::QRegion'
bit if use the same thing not in class constructor but when i call it in my application, no pbs why?
thanks
Message 2 in thread
Well, somehow you are calling a private constructor QRegion::QRegion(bool)
I can't see what would be trying to construct a QRegion anyway.
I guess the snippet below is not the real code, since you say "setmask"
instead of "setMask"
What is the real source code for the constructor?
--
[ signature omitted ]