[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KFile plugin problem !!
From:       Michael Pyne <pynm0001 () comcast ! net>
Date:       2004-07-12 14:02:47
Message-ID: 200407121002.49369.pynm0001 () comcast ! net
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 12 July 2004 09:55, Mario wrote:
> I have tried to figure it in but now I have following compile errors !
>
> request for member `lock' in `
>    this->tweakBSDpkgPlugin::m_lock', which is of non-aggregate type
> `QMutex*'
>
> should I change m_lock.lock() to m_lock->lock() ???

Well yes.  My example assumed the QMutex wasn't a pointer.  Since you're using 
a pointer, make sure you initialize the m_lock in your constructor by calling 
new QMutex.

Regards,
 - Michael Pyne
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8poHqjQYp5Omm0oRAn4aAJ9mVKR0fsqRy3sfKeBZ6G5K1cRdCACaAnq1
H91F/HZNRG7JiYok0gCrZcY=
=e+j3
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic