trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2014

Re: [trinity-devel] R: [trinity-devel] KXMLedit is MISSING from TDE - Slavek can you convert/add?

From: François Andriot <francois.andriot@...>
Date: Sat, 22 Feb 2014 19:02:08 +0100
Le 22/02/2014 18:58, David C. Rankin a écrit :
> On 02/22/2014 08:55 AM, Slávek Banko wrote:
>> On Saturday 22 of February 2014 15:39:04 Michele Calgaro wrote:
>>> Added to bugszilla bug 1955
>>>
>>>    Michele
>>>
>> Great, thank you.
>>
>> Slavek
>>
> Slavek - I think I am almost done with the conversion. After spending 5 hours on
> it, I can say with authority, by far, the the most costly miscalculation the TDE
> project made was to take a *meat-cleaver* k->tde renaming approach, that has
> resulted in wholesale renaming of k->tde and K->TDE to some classes,, headers
> and functions and NOT others, instead of taking a surgical minimal renaming
> approach to insure only conflicting executables, libraries and docbook language
> were renamed.
>
> You get into the code to migrate an application and there is NO rhyme or reason
> to why some of the classes and headers are Kfoo or kfoo.h and why some have been
> renamed TDEfoo or tdefoo.h. They are intermixed like scrambled eggs :(
>
> I am on build 23 of kxmleditor after having:
>
> # convert_existing_qt3_app_to_tqt3
> # copy tde/common/admin
> [...]


You should use the "convert_existing_kde3_app_to_tde" script instead of 
using your own sed command.
If you find the script is missing some renaming, you can report it here.

Francois