[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: extragear/multimedia/amarok/src/collection/iphoneos
From: Seb Ruiz <ruiz () kde ! org>
Date: 2009-07-16 21:42:44
Message-ID: 60ebdd0b0907161442u1cc16a13n2e5cac5b3e906881 () mail ! gmail ! com
[Download RAW message or body]
You should cache this value, it's never going to change in a session.
2009/7/17 Martin Aumüller <aumuell@reserv.at>:
> +float
> +IphoneOsReadCapability::totalCapacity() const
> +{
> + KDiskFreeSpaceInfo info = KDiskFreeSpaceInfo::freeSpaceInfo( m_handler->mountPoint() );
> + return info.size();
> +}
--
Seb Ruiz
http://www.sebruiz.net/
http://amarok.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic