[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: private slots
From: "=?UTF-8?Q?Rafael_Fern=C3=A1ndez_L=C3=B3pez?=" <ereslibre () gmail ! com>
Date: 2007-01-03 15:37:24
Message-ID: 93f85fee0701030737t750518c9ka37d0a847c7bd083 () mail ! gmail ! com
[Download RAW message or body]
Hi,
I have done another approach for this problem. You can check it out at
http://websvn.kde.org/trunk/KDE/kdelibs/kutils/kpluginselector_p.h.
As you can see, to let it have private SLOTS, I made the Private class
inherit QObject, and as usually with the Q_OBJECT macro.
This way, the d-pointer stills do what it has to do (contain all
private methods and attributes of the class).
Bye,
Rafael Fernández López.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic