[PATCH] New kicker DCOP call

John Firebaugh jfirebaugh at kde.org
Sat Jun 28 04:54:18 BST 2003


> On Friday 27 June 2003 20:32, Zack Rusin wrote:
>> Looks good to me, besides the rather redundant addition of
>> RecentlyLaunchedApps::clearRecentApps() method.
> 
> I only did that because RecentlyLaunchedApps uses private inheritance, so I
> can't get to clear() from outside:
> 
> class RecentlyLaunchedApps : private QPtrList<RecentlyLaunchedAppInfo>
> 
> Is there a better way?

Yes:

class RecentlyLaunchedApps : private QPtrList<RecentlyLaunchedAppInfo>
{
    ...

public:
    using QPtrList<RecentlyLaunchedAppInfo>::clear;
};

-John





More information about the kde-core-devel mailing list