RFC: On-demand package installation API in kdelibs

Lubos Lunak l.lunak at suse.cz
Thu Jul 29 12:48:26 BST 2010


On Thursday 29 of July 2010, John Layt wrote:
> These could be
> special cases in the api, rather than generic calls:
>
>     bool
> canInstallLanguages(appName)
>     QStringList availableLanguages(appName)
>
> bool installLanguage(languageCode, appName)
>
>     bool
> canInstallDictionaries()
>     QStringList availableDictionaries()
>     bool
> installDictionary(languageCode)
>
> If it was a generic installCapability(
> "kde-language-fr" ) then we would just be doing lots of parsing of the key
> at both ends to obtain the language code and decide what to do.

 Ok, this should be no problem then.

-- 
 Lubos Lunak
 openSUSE Boosters team, KDE developer
 l.lunak at suse.cz , l.lunak at kde.org




More information about the kde-core-devel mailing list