[Digikam-devel] Re: KCategoryDrawer and memory leak...

Gilles Caulier caulier.gilles at gmail.com
Mon Nov 8 12:34:24 GMT 2010


Marcel,

Why we use Q_DECLARE_PRIVATE() macro under imagedelegate.h ?

This macro is used only internally in Qt4 and is not documented :

http://www.qtcentre.org/threads/14928-Q_declare_private%28%29

Same for Q_D() macro of course used in imagedelegate.cpp...

Gilles Caulier

2010/11/6 Martin Klapetek <martin.klapetek at gmail.com>:
> On Sat, Nov 6, 2010 at 15:01, Gilles Caulier <caulier.gilles at gmail.com>
> wrote:
>>
>> In all case, KDE API said that KCategoryDrawer V1 is obsolete and
>> unmaintained.
>>
>> At least V2 need to be used instead, or better V3.
>>
>> I propose to patch code to use V1 for old KDE < 4.4, V2 for KDE 4.4.x,
>> V3 for KDE > 4.5
>>
>> What do you think about ?
>
> Well since the newest digiKam needs at least KDE 4.5 libs (kdegraphics), I'd
> say it's useless to use add this, because you'll always need 4.5, no?  I
> mean you won't compile it without kdegraphics-4.5 installed and you won't
> install this package without the rest of KDE 4.5...
> Marty
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>



More information about the Digikam-devel mailing list