summaryrefslogtreecommitdiffstats
path: root/languages
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-09-23 13:07:23 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-23 13:07:23 +0200
commita213def8e9bf36d3554373e623a8e84ef46ad960 (patch)
tree85ca179bd571c82450921c5b6fc1e08260b474e6 /languages
parent385cc72208152a3557d20dc453e4697f2ce79086 (diff)
downloadtdevelop-a213def8e9bf36d3554373e623a8e84ef46ad960.tar.gz
tdevelop-a213def8e9bf36d3554373e623a8e84ef46ad960.zip
Add includes to UI files to resolve FTBFS
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'languages')
-rw-r--r--languages/cpp/addattributedialogbase.ui7
-rw-r--r--languages/cpp/addmethoddialogbase.ui7
-rw-r--r--languages/cpp/app_templates/kscons_kxt/prefs-base.ui3
-rw-r--r--languages/cpp/app_templates/kxt/prefs-base.ui3
-rw-r--r--languages/cpp/app_templates/tdeconfig35/prefs-base.ui3
-rw-r--r--languages/cpp/ccconfigwidgetbase.ui23
-rw-r--r--languages/cpp/cppnewclassdlgbase.ui10
-rw-r--r--languages/cpp/creategettersetter.ui10
-rw-r--r--languages/cpp/createpcsdialogbase.ui8
-rw-r--r--languages/cpp/debugger/debuggerconfigwidgetbase.ui22
-rw-r--r--languages/cpp/debugger/debuggertracingdialogbase.ui8
-rw-r--r--languages/cpp/pcsimporter/customimporter/settingsdialogbase.ui3
-rw-r--r--languages/cpp/pcsimporter/qt4importer/settingsdialogbase.ui10
-rw-r--r--languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui12
-rw-r--r--languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui10
-rw-r--r--languages/cpp/subclassingdlgbase.ui7
-rw-r--r--languages/csharp/csharpconfigwidgetbase.ui5
-rw-r--r--languages/java/configproblemreporter.ui12
-rw-r--r--languages/lib/designer_integration/implementationwidgetbase.ui7
-rw-r--r--languages/php/phpconfigwidgetbase.ui7
-rw-r--r--languages/php/phpnewclassdlgbase.ui9
-rw-r--r--languages/python/pythonconfigwidgetbase.ui8
-rw-r--r--languages/ruby/app_templates/kxt/prefs-base.ui3
-rw-r--r--languages/ruby/rubyconfigwidgetbase.ui15
-rw-r--r--languages/sql/sqlconfigwidget.ui11
25 files changed, 83 insertions, 140 deletions
diff --git a/languages/cpp/addattributedialogbase.ui b/languages/cpp/addattributedialogbase.ui
index 0a109443..18b98e9c 100644
--- a/languages/cpp/addattributedialogbase.ui
+++ b/languages/cpp/addattributedialogbase.ui
@@ -359,9 +359,6 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<includes>
- <include location="global" impldecl="in implementation">kdialog.h</include>
-</includes>
<Q_SLOTS>
<slot access="protected">init()</slot>
<slot access="protected">destroy()</slot>
@@ -372,4 +369,8 @@
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
+<includes>
+ <include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/languages/cpp/addmethoddialogbase.ui b/languages/cpp/addmethoddialogbase.ui
index 93274d42..3926f966 100644
--- a/languages/cpp/addmethoddialogbase.ui
+++ b/languages/cpp/addmethoddialogbase.ui
@@ -442,9 +442,6 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<includes>
- <include location="global" impldecl="in implementation">kdialog.h</include>
-</includes>
<Q_SLOTS>
<slot access="protected">init()</slot>
<slot access="protected">destroy()</slot>
@@ -456,4 +453,8 @@
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
+<includes>
+ <include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/languages/cpp/app_templates/kscons_kxt/prefs-base.ui b/languages/cpp/app_templates/kscons_kxt/prefs-base.ui
index b1115e6f..78a12753 100644
--- a/languages/cpp/app_templates/kscons_kxt/prefs-base.ui
+++ b/languages/cpp/app_templates/kscons_kxt/prefs-base.ui
@@ -123,7 +123,4 @@
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcolorbutton.h</includehint>
-</includehints>
</UI>
diff --git a/languages/cpp/app_templates/kxt/prefs-base.ui b/languages/cpp/app_templates/kxt/prefs-base.ui
index 03af967a..4b7ebd8e 100644
--- a/languages/cpp/app_templates/kxt/prefs-base.ui
+++ b/languages/cpp/app_templates/kxt/prefs-base.ui
@@ -121,7 +121,4 @@
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcolorbutton.h</includehint>
-</includehints>
</UI>
diff --git a/languages/cpp/app_templates/tdeconfig35/prefs-base.ui b/languages/cpp/app_templates/tdeconfig35/prefs-base.ui
index 03af967a..4b7ebd8e 100644
--- a/languages/cpp/app_templates/tdeconfig35/prefs-base.ui
+++ b/languages/cpp/app_templates/tdeconfig35/prefs-base.ui
@@ -121,7 +121,4 @@
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcolorbutton.h</includehint>
-</includehints>
</UI>
diff --git a/languages/cpp/ccconfigwidgetbase.ui b/languages/cpp/ccconfigwidgetbase.ui
index 7beabfa5..32b69e92 100644
--- a/languages/cpp/ccconfigwidgetbase.ui
+++ b/languages/cpp/ccconfigwidgetbase.ui
@@ -1754,10 +1754,6 @@ you right click on a variable in a header file.</string>
<tabstop>newPCSButton</tabstop>
<tabstop>advancedOptions</tabstop>
</tabstops>
-<includes>
- <include location="global" impldecl="in implementation">kurlrequester.h</include>
- <include location="global" impldecl="in implementation">kdialog.h</include>
-</includes>
<Q_SLOTS>
<slot access="protected">implementationFile()</slot>
<slot access="protected">interfaceFile()</slot>
@@ -1782,17 +1778,10 @@ you right click on a variable in a header file.</string>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
-<includehints>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">knuminput.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+</includes>
</UI>
diff --git a/languages/cpp/cppnewclassdlgbase.ui b/languages/cpp/cppnewclassdlgbase.ui
index 799dce05..03cd0909 100644
--- a/languages/cpp/cppnewclassdlgbase.ui
+++ b/languages/cpp/cppnewclassdlgbase.ui
@@ -1236,9 +1236,6 @@ Namespace1::Namespace2::...::NamespaceN</string>
<tabstop>gen_config</tabstop>
<tabstop>constructors_cpp_edit</tabstop>
</tabstops>
-<includes>
- <include location="global" impldecl="in implementation">kdialog.h</include>
-</includes>
<Q_SLOTS>
<slot access="protected">updateClassStore()</slot>
<slot access="protected">access_view_mouseButtonPressed( int button, TQListViewItem * item, const TQPoint &amp; p, int c )</slot>
@@ -1284,7 +1281,8 @@ Namespace1::Namespace2::...::NamespaceN</string>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
-<includehints>
- <includehint>classgeneratorconfig.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/languages/cpp/creategettersetter.ui b/languages/cpp/creategettersetter.ui
index 81edebf0..fcd6e684 100644
--- a/languages/cpp/creategettersetter.ui
+++ b/languages/cpp/creategettersetter.ui
@@ -223,10 +223,8 @@
<slot access="protected">slotInlineChanged()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/languages/cpp/createpcsdialogbase.ui b/languages/cpp/createpcsdialogbase.ui
index ac65b5f9..a128e877 100644
--- a/languages/cpp/createpcsdialogbase.ui
+++ b/languages/cpp/createpcsdialogbase.ui
@@ -164,8 +164,8 @@
<slot>slotSelectionChanged(TQListViewItem*)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
- <includehint>klineedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+</includes>
</UI>
diff --git a/languages/cpp/debugger/debuggerconfigwidgetbase.ui b/languages/cpp/debugger/debuggerconfigwidgetbase.ui
index 14ec3344..9d6dcbf1 100644
--- a/languages/cpp/debugger/debuggerconfigwidgetbase.ui
+++ b/languages/cpp/debugger/debuggerconfigwidgetbase.ui
@@ -428,26 +428,10 @@ or if your executable contains the gdb stub
<tabstop>runShellScript_edit</tabstop>
<tabstop>runGdbScript_edit</tabstop>
</tabstops>
+<layoutdefaults spacing="6" margin="11"/>
+<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
</includes>
-<layoutdefaults spacing="6" margin="11"/>
-<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
</UI>
diff --git a/languages/cpp/debugger/debuggertracingdialogbase.ui b/languages/cpp/debugger/debuggertracingdialogbase.ui
index faa68cd7..b6e01791 100644
--- a/languages/cpp/debugger/debuggertracingdialogbase.ui
+++ b/languages/cpp/debugger/debuggertracingdialogbase.ui
@@ -134,8 +134,8 @@ If custom format string is not enabled, names and values of all expressions will
<slot>enableOrDisable()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>keditlistbox.h</includehint>
- <includehint>klineedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">keditlistbox.h</include>
+</includes>
</UI>
diff --git a/languages/cpp/pcsimporter/customimporter/settingsdialogbase.ui b/languages/cpp/pcsimporter/customimporter/settingsdialogbase.ui
index df22cab6..7fc72d0e 100644
--- a/languages/cpp/pcsimporter/customimporter/settingsdialogbase.ui
+++ b/languages/cpp/pcsimporter/customimporter/settingsdialogbase.ui
@@ -59,4 +59,7 @@
<signal>enabled(int)</signal>
</Q_SIGNALS>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/languages/cpp/pcsimporter/qt4importer/settingsdialogbase.ui b/languages/cpp/pcsimporter/qt4importer/settingsdialogbase.ui
index 6c36b44f..b0a48d2a 100644
--- a/languages/cpp/pcsimporter/qt4importer/settingsdialogbase.ui
+++ b/languages/cpp/pcsimporter/qt4importer/settingsdialogbase.ui
@@ -73,10 +73,8 @@ Only the selected entry will be used</string>
<slot>slotSelectionChanged(TQListBoxItem*)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>tdelistbox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+</includes>
</UI>
diff --git a/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui b/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui
index e736a074..efba8920 100644
--- a/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui
+++ b/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui
@@ -132,11 +132,9 @@ Only the selected entry will be used</string>
<slot>slotSelectionChanged(TQListBoxItem*)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>tdelistbox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+</includes>
</UI>
diff --git a/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui b/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui
index 7b133a51..8ac0d2db 100644
--- a/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui
+++ b/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui
@@ -125,10 +125,8 @@ Only the selected entry will be used</string>
<slot>slotSelectionChanged(TQListBoxItem*)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>tdelistbox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+</includes>
</UI>
diff --git a/languages/cpp/subclassingdlgbase.ui b/languages/cpp/subclassingdlgbase.ui
index 828414cf..67dcd97f 100644
--- a/languages/cpp/subclassingdlgbase.ui
+++ b/languages/cpp/subclassingdlgbase.ui
@@ -233,12 +233,13 @@
<slot>onChangedClassName()</slot>
</connection>
</connections>
-<includes>
- <include location="global" impldecl="in implementation">kdialog.h</include>
-</includes>
<Q_SLOTS>
<slot>onChangedClassName()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
+<includes>
+ <include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/languages/csharp/csharpconfigwidgetbase.ui b/languages/csharp/csharpconfigwidgetbase.ui
index 5ec36259..9e2ee69a 100644
--- a/languages/csharp/csharpconfigwidgetbase.ui
+++ b/languages/csharp/csharpconfigwidgetbase.ui
@@ -93,9 +93,10 @@
</spacer>
</vbox>
</widget>
+<layoutdefaults spacing="6" margin="11"/>
+<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
</includes>
-<layoutdefaults spacing="6" margin="11"/>
-<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
diff --git a/languages/java/configproblemreporter.ui b/languages/java/configproblemreporter.ui
index 87300352..9bea48d7 100644
--- a/languages/java/configproblemreporter.ui
+++ b/languages/java/configproblemreporter.ui
@@ -234,10 +234,6 @@
<tabstop>pushButton5</tabstop>
<tabstop>pushButton6</tabstop>
</tabstops>
-<includes>
- <include location="global" impldecl="in implementation">kdialog.h</include>
- <include location="local" impldecl="in implementation">configproblemreporter.ui.h</include>
-</includes>
<Q_SLOTS>
<slot>init()</slot>
<slot>destroy()</slot>
@@ -251,7 +247,9 @@
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+ <include location="local" impldecl="in implementation">configproblemreporter.ui.h</include>
+</includes>
</UI>
diff --git a/languages/lib/designer_integration/implementationwidgetbase.ui b/languages/lib/designer_integration/implementationwidgetbase.ui
index 9d8769d7..d2780bc1 100644
--- a/languages/lib/designer_integration/implementationwidgetbase.ui
+++ b/languages/lib/designer_integration/implementationwidgetbase.ui
@@ -261,7 +261,8 @@
<slot access="protected">classNameChanged(const TQString &amp;)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+</includes>
</UI>
diff --git a/languages/php/phpconfigwidgetbase.ui b/languages/php/phpconfigwidgetbase.ui
index 6f0247e3..02228756 100644
--- a/languages/php/phpconfigwidgetbase.ui
+++ b/languages/php/phpconfigwidgetbase.ui
@@ -547,9 +547,6 @@ the internal web browser. Please make sure that the webserver was compiled with
<tabstop>zend_edit</tabstop>
<tabstop>zend_button</tabstop>
</tabstops>
-<includes>
- <include location="global" impldecl="in implementation">kdialog.h</include>
-</includes>
<Q_SLOTS>
<slot>slotAboutClicked()</slot>
<slot>slotPHPExeButtonClicked()</slot>
@@ -558,4 +555,8 @@ the internal web browser. Please make sure that the webserver was compiled with
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
+<includes>
+ <include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/languages/php/phpnewclassdlgbase.ui b/languages/php/phpnewclassdlgbase.ui
index 94c18baa..e2d9b56d 100644
--- a/languages/php/phpnewclassdlgbase.ui
+++ b/languages/php/phpnewclassdlgbase.ui
@@ -189,13 +189,10 @@ class CLASSNAME extends BASECLASS {
<tabstop>m_okButton</tabstop>
<tabstop>m_cancelButton</tabstop>
</tabstops>
+<layoutdefaults spacing="6" margin="11"/>
+<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
- <include location="global" impldecl="in declaration">klineedit.h</include>
<include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
</includes>
-<layoutdefaults spacing="6" margin="11"/>
-<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
-<includehints>
- <includehint>klineedit.h</includehint>
-</includehints>
</UI>
diff --git a/languages/python/pythonconfigwidgetbase.ui b/languages/python/pythonconfigwidgetbase.ui
index 7c70ed62..81d70c42 100644
--- a/languages/python/pythonconfigwidgetbase.ui
+++ b/languages/python/pythonconfigwidgetbase.ui
@@ -110,12 +110,10 @@
</spacer>
</vbox>
</widget>
+<layoutdefaults spacing="6" margin="11"/>
+<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
</includes>
-<layoutdefaults spacing="6" margin="11"/>
-<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
-<includehints>
- <includehint>klineedit.h</includehint>
-</includehints>
</UI>
diff --git a/languages/ruby/app_templates/kxt/prefs-base.ui b/languages/ruby/app_templates/kxt/prefs-base.ui
index 03af967a..4b7ebd8e 100644
--- a/languages/ruby/app_templates/kxt/prefs-base.ui
+++ b/languages/ruby/app_templates/kxt/prefs-base.ui
@@ -121,7 +121,4 @@
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcolorbutton.h</includehint>
-</includehints>
</UI>
diff --git a/languages/ruby/rubyconfigwidgetbase.ui b/languages/ruby/rubyconfigwidgetbase.ui
index 569ac658..3e0943e5 100644
--- a/languages/ruby/rubyconfigwidgetbase.ui
+++ b/languages/ruby/rubyconfigwidgetbase.ui
@@ -346,18 +346,11 @@ def cd(dir) Dir.chdir dir end</string>
<tabstop>sjisOption</tabstop>
<tabstop>utf8Option</tabstop>
</tabstops>
+<layoutdefaults spacing="6" margin="11"/>
+<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
</includes>
-<layoutdefaults spacing="6" margin="11"/>
-<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
</UI>
diff --git a/languages/sql/sqlconfigwidget.ui b/languages/sql/sqlconfigwidget.ui
index 5f836677..cfa61833 100644
--- a/languages/sql/sqlconfigwidget.ui
+++ b/languages/sql/sqlconfigwidget.ui
@@ -157,9 +157,6 @@
<slot>updateButtons()</slot>
</connection>
</connections>
-<includes>
- <include location="local" impldecl="in implementation">sqlconfigwidget.ui.h</include>
-</includes>
<forwards>
<forward>class TQDomDocument;</forward>
</forwards>
@@ -182,8 +179,8 @@
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
-<includehints>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="local" impldecl="in implementation">sqlconfigwidget.ui.h</include>
+</includes>
</UI>