Patch: Remove some deprecated functions

Jaroslaw Staniek staniek at kde.org
Sun Nov 6 17:37:54 GMT 2011


On 6 November 2011 17:56, Mauro <mauro at nazardo.it> wrote:

>> The function
>>
>> formatDate(date, KLocale::MonthName, KLocale::ShortName)
>>
>> was introduced in 4.6 so you need to ifdef that as we still support compiling
>> against kde 4.4.
>
> I apologize, I didn't know you still need to support KDE 4.4

Hi,
It makes sense not removing support if there's almost no effort needed.

> I have removed the formatDate() stuff, since the deprecated methods it
> substitutes will not be removed by KDE 5 and the introduction of dozens
> of compilation switches would have compromised readability.

In version where we depend on KDE Frameworks 5, we'll obviously remove #ifdefs.
But I am hoping we'd want to support at least KDEF >= 4.6 for quite a
long time after KDEF 5.0 is released.

-- 
regards / pozdrawiam, Jaroslaw Staniek
 http://www.linkedin.com/in/jstaniek
 Kexi & Calligra (kexi-project.org, identi.ca/kexi, calligra-suite.org)
 KDE Software Development Platform on MS Windows (windows.kde.org)



More information about the calligra-devel mailing list