I used my kdesdk/scripts/qt4/convert-qgridlayout.pl and kdesdk/scripts/qt4/convert-qboxlayout.pl scripts for this. Apart from one instance (where the params were commented out), no manual intervention was needed and everything worked like a charm...
What still needs to be done is to replace all Q*Layout(QLayout*parent) constructors by Q*Layout(); parent->insertLayout(..); calls. This can't be automated since it's impossible to detect whether the parent object is a QWidget* or a QLayout*. At best one can parst the compiler warning and just replace in those lines that through a deprecated warning...
svn path=/trunk/KDE/kdepim/; revision=533942
- The Edit... (regular expression) button is now hidden instead of disabled which makes IMO more sense.
- Use KDialog::spacingHint() instead of hardcoded value of 4.
svn path=/trunk/kdepim/; revision=290263