summaryrefslogtreecommitdiff
path: root/src/settings/settings_adblock.ui
diff options
context:
space:
mode:
authorAndrius Štikonas <stikonas@gmail.com>2010-06-09 17:11:26 +0100
committerAndrius Štikonas <stikonas@gmail.com>2010-07-06 11:23:09 +0300
commit7dad5e9e2348dfaeee0b0ed10fc76ae2ca834376 (patch)
treefee06a491bf662c98b2dfc2bb46d4da2a3923c41 /src/settings/settings_adblock.ui
parentupdating version number (diff)
downloadrekonq-7dad5e9e2348dfaeee0b0ed10fc76ae2ca834376.tar.xz
Use KIntSpinBox together with plural aware setSuffix instead of static QSpinBox suffix.
Diffstat (limited to 'src/settings/settings_adblock.ui')
-rw-r--r--src/settings/settings_adblock.ui15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/settings/settings_adblock.ui b/src/settings/settings_adblock.ui
index 5d088143..1264104f 100644
--- a/src/settings/settings_adblock.ui
+++ b/src/settings/settings_adblock.ui
@@ -66,9 +66,15 @@
</widget>
</item>
<item>
- <widget class="QSpinBox" name="spinBox">
+ <widget class="KIntSpinBox" name="spinBox">
+ <property name="minimumSize">
+ <size>
+ <width>120</width>
+ <height>0</height>
+ </size>
+ </property>
<property name="suffix">
- <string> days</string>
+ <string/>
</property>
<property name="value">
<number>7</number>
@@ -161,6 +167,11 @@
<header>klistwidget.h</header>
</customwidget>
<customwidget>
+ <class>KIntSpinBox</class>
+ <extends>QSpinBox</extends>
+ <header>knuminput.h</header>
+ </customwidget>
+ <customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>