Revision 526900

Go back to digest for 9th April 2006

Optimization in KDE Base

Matthias Kretz committed changes in /trunk/KDE/kdelibs:

Prefix generated header files with ui_ for designer4 ui files.
Adjust the includes accordingly (I hope I found all of them, at least kdelibs
compiles here - except for kate/tests/arbitraryhighlighttest.cpp)

Be careful when using foo.ui, foo.h, foo.cpp now, though because uic puts
a very general include guard macro in the generated file: FOO_H
Most people (and kde-devel-vim.vim's ,i) will use the same macro for foo.h.
This will hopefully be fixable when Trolltech extends uic so that we don't
have to postprocess the output anymore. (The -o option of uic creates the
include guard from the name of the output file.)

File Changes

Modified 8 files
  • /trunk/KDE/kdelibs
  •   /kdeui/kkeydialog.cpp
  •   /kdeui/kshortcutdialog.cpp
  •   /kdeui/kspelldlg.cpp
  •   /cmake/modules/KDE4Macros.cmake
  •   /interfaces/ktexteditor/editorchooser.cpp
  •   /kio/kfile/kpropertiesdialog.cpp
  •   /kjsembed/console/console.cpp
  •   /knotify/config/knotifyconfigactionswidget.h
8 files changed in total