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

List:       kde-core-devel
Subject:    Re: [PATCH] Make KDiskFreeSpace more convenient -> KJob-like usage
From:       Alex Merry <huntedhacker () tiscali ! co ! uk>
Date:       2008-07-23 20:14:00
Message-ID: 200807232114.00499.huntedhacker () tiscali ! co ! uk
[Download RAW message or body]

On Wednesday 23 July 2008 15:56:29 Sebastian Trüg wrote:
> On Wednesday 23 July 2008 15:35:52 Dirk Mueller wrote:
> > On Wednesday 23 July 2008, Sebastian Trüg wrote:
> > > please find attached a patch for KDiskFreeSpace. I found it to be very
> > > inconvenient to use.
> >
> > A reminescense of the old implementation, which was async. I've changed
> > it to be synchronous, so I'm not sure if we should invest more in that
> > old interface. IMHO a static ::getFreeDiskspace() (better method name
> > welcome) would be enough.
>
> Sure, for KDE 5, but for now we have to keep the old API.

That just means you have to keep it around.  You could introduce the static 
method, and mark the old usage as deprecated.

Alex


-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org


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

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