[Kstars-devel] change in kdelibs4_snapshot

Jason Harris jharris at 30doradus.org
Mon Apr 10 06:43:22 CEST 2006


Hello,

According to this thread:
http://lists.kde.org/?l=kde-core-devel&m=114458950630760&w=2

There's going to be an important change in the kdelibs4_snapshot update 
tomorrow (or today for most of us...).  Header files generated from UI 
designer files will be named by adding a prefix "ui_" to the stem of the *.ui 
file.  So, if the designer file is "dialog.ui", the generated header will be 
"ui_dialog.h", instead of "dialog.h".  

So this means at the very least, we have to change all references to these 
header files so that they include the "ui_" prefix.  However, since we were 
already *appending* "ui" (or sometimes "dlg") to our UI filenames, I think we 
should probably rename all of the UI files as well, so we don't have 
ridiculous names like "ui_observinglistui.h".  I propose that we simply 
remove the "ui"/"dlg" suffixes, so the stem of the UI file matches that of 
the derived class's *.h and *.cpp files.

This is going to be a tedious job, and I won't be able to do it right away.  
So, you might want to wait until you see that I've committed these changes 
before updating kdelibs4_snapshot.  Of course, it's entirely possible that 
there are other changes that will render the code uncompilable without 
updating...I wish we'd had more warning that this was going to happen.

regards,
Jason

-- 
Jason Harris
jharris at 30doradus.org


More information about the Kstars-devel mailing list