From 2f62a2d1b85bbe03fdee526a443d9ad7671fc4f0 Mon Sep 17 00:00:00 2001 From: Laurent Navet Date: Wed, 11 Dec 2013 21:35:54 +0100 Subject: [PATCH] KF5 Port KIntNumInput->QSpinBox Replace deprecated KIntNumImput with QSpinBox Signed-off-by: Laurent Navet REVIEW: 114413 --- kcmkwin/kwinoptions/advanced.ui | 4 ++-- kcmkwin/kwinoptions/focus.ui | 9 ++------- kcmkwin/kwinoptions/moving.ui | 13 +++---------- kcmkwin/kwinoptions/windows.cpp | 1 - kcmkwin/kwinoptions/windows.h | 3 +-- 5 files changed, 8 insertions(+), 22 deletions(-) diff --git a/kcmkwin/kwinoptions/advanced.ui b/kcmkwin/kwinoptions/advanced.ui index f8b6c57a7d..8c465b47cc 100644 --- a/kcmkwin/kwinoptions/advanced.ui +++ b/kcmkwin/kwinoptions/advanced.ui @@ -210,7 +210,7 @@ - + Sets the time in milliseconds before the window unshades when the mouse pointer goes over the shaded window. @@ -271,7 +271,7 @@
kcombobox.h
- KIntNumInput + QSpinBox QWidget
knuminput.h
diff --git a/kcmkwin/kwinoptions/focus.ui b/kcmkwin/kwinoptions/focus.ui index 9c27eae79c..b579a08344 100644 --- a/kcmkwin/kwinoptions/focus.ui +++ b/kcmkwin/kwinoptions/focus.ui @@ -236,7 +236,7 @@ You very likely want to use<br>
- + 0 @@ -461,7 +461,7 @@ You very likely want to use<br> - + 0 @@ -554,11 +554,6 @@ You very likely want to use<br> QComboBox
kcombobox.h
- - KIntNumInput - QWidget -
knuminput.h
-
focusStealing diff --git a/kcmkwin/kwinoptions/moving.ui b/kcmkwin/kwinoptions/moving.ui index de2c0919e6..eb04689a0f 100644 --- a/kcmkwin/kwinoptions/moving.ui +++ b/kcmkwin/kwinoptions/moving.ui @@ -44,7 +44,7 @@
- + 0 @@ -111,7 +111,7 @@ - + 0 @@ -139,7 +139,7 @@ - + 0 @@ -265,13 +265,6 @@ - - - KIntNumInput - QWidget -
knuminput.h
-
-
diff --git a/kcmkwin/kwinoptions/windows.cpp b/kcmkwin/kwinoptions/windows.cpp index fc5a143a51..baf4bfb2df 100644 --- a/kcmkwin/kwinoptions/windows.cpp +++ b/kcmkwin/kwinoptions/windows.cpp @@ -36,7 +36,6 @@ #include #include #include -#include #include #include diff --git a/kcmkwin/kwinoptions/windows.h b/kcmkwin/kwinoptions/windows.h index 91611cb9d3..d82487a317 100644 --- a/kcmkwin/kwinoptions/windows.h +++ b/kcmkwin/kwinoptions/windows.h @@ -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