KF5 Port KIntNumInput->QSpinBox

Replace deprecated KIntNumImput with QSpinBox

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>

REVIEW: 114413
icc-effect-5.14.5
Laurent Navet 2013-12-11 21:35:54 +01:00 committed by Martin Gräßlin
parent 88fc43beeb
commit 2f62a2d1b8
5 changed files with 8 additions and 22 deletions

View File

@ -210,7 +210,7 @@
</widget>
</item>
<item row="3" column="2" colspan="3">
<widget class="KIntNumInput" name="shadeHover">
<widget class="QSpinBox" name="shadeHover">
<property name="whatsThis">
<string>Sets the time in milliseconds before the window unshades when the mouse pointer goes over the shaded window.</string>
</property>
@ -271,7 +271,7 @@
<header>kcombobox.h</header>
</customwidget>
<customwidget>
<class>KIntNumInput</class>
<class>QSpinBox</class>
<extends>QWidget</extends>
<header>knuminput.h</header>
</customwidget>

View File

@ -236,7 +236,7 @@ You very likely want to use&lt;br&gt;
</widget>
</item>
<item>
<widget class="KIntNumInput" name="delayFocus">
<widget class="QSpinBox" name="delayFocus">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
@ -461,7 +461,7 @@ You very likely want to use&lt;br&gt;
</spacer>
</item>
<item row="1" column="1">
<widget class="KIntNumInput" name="autoRaise">
<widget class="QSpinBox" name="autoRaise">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
@ -554,11 +554,6 @@ You very likely want to use&lt;br&gt;
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
<customwidget>
<class>KIntNumInput</class>
<extends>QWidget</extends>
<header>knuminput.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>focusStealing</tabstop>

View File

@ -44,7 +44,7 @@
</widget>
</item>
<item row="6" column="2">
<widget class="KIntNumInput" name="centerSnap">
<widget class="QSpinBox" name="centerSnap">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
@ -111,7 +111,7 @@
</widget>
</item>
<item row="5" column="2">
<widget class="KIntNumInput" name="windowSnap">
<widget class="QSpinBox" name="windowSnap">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
@ -139,7 +139,7 @@
</widget>
</item>
<item row="4" column="2">
<widget class="KIntNumInput" name="borderSnap">
<widget class="QSpinBox" name="borderSnap">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
@ -265,13 +265,6 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntNumInput</class>
<extends>QWidget</extends>
<header>knuminput.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>

View File

@ -36,7 +36,6 @@
#include <KButtonGroup>
#include <KDE/KConfig>
#include <KDE/KLocalizedString>
#include <knuminput.h>
#include <kdialog.h>
#include <X11/X.h>

View File

@ -38,10 +38,9 @@ class QGroupBox;
class QLabel;
class QSlider;
class KButtonGroup;
// class QSpinBox;
class QSpinBox;
class KColorButton;
class KIntNumInput;
class KWinFocusConfigForm : public QWidget, public Ui::KWinFocusConfigForm