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

View File

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

View File

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

View File

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

View File

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