Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KFind
Commits
a389382d
Commit
a389382d
authored
Jun 27, 2017
by
Laurent Montel
😁
Browse files
Remove some kdelibs4support class
parent
c5a7c42d
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/kfindtreeview.h
View file @
a389382d
...
...
@@ -20,7 +20,6 @@
#ifndef KFINDTREEVIEW__H
#define KFINDTREEVIEW__H
#include <kurl.h>
#include <kfileitem.h>
#include <QAbstractTableModel>
...
...
src/kftabdlg.cpp
View file @
a389382d
...
...
@@ -37,7 +37,7 @@
#include <kurlcompletion.h>
#include <klineedit.h>
#include <kmessagebox.h>
#include <
KNumInput
>
#include <
QSpinBox
>
#include <QFileDialog>
#include <kregexpeditorinterface.h>
#include <kservicetypetrader.h>
...
...
@@ -196,7 +196,7 @@ KfindTabWidget::KfindTabWidget(QWidget *parent)
fromDate
->
setDate
(
dt
);
toDate
=
new
KDateComboBox
(
pages
[
1
]);
toDate
->
setObjectName
(
QStringLiteral
(
"toDate"
));
timeBox
=
new
KInt
SpinBox
(
pages
[
1
]);
timeBox
=
new
Q
SpinBox
(
pages
[
1
]);
timeBox
->
setRange
(
1
,
60
);
timeBox
->
setSingleStep
(
1
);
timeBox
->
setObjectName
(
QStringLiteral
(
"timeBox"
));
...
...
@@ -205,7 +205,7 @@ KfindTabWidget::KfindTabWidget(QWidget *parent)
sizeBox
->
setObjectName
(
QStringLiteral
(
"sizeBox"
));
QLabel
*
sizeL
=
new
QLabel
(
i18n
(
"File &size is:"
),
pages
[
1
]);
sizeL
->
setBuddy
(
sizeBox
);
sizeEdit
=
new
KInt
SpinBox
(
pages
[
1
]);
sizeEdit
=
new
Q
SpinBox
(
pages
[
1
]);
sizeEdit
->
setRange
(
0
,
INT_MAX
);
sizeEdit
->
setSingleStep
(
1
);
sizeEdit
->
setObjectName
(
QStringLiteral
(
"sizeEdit"
));
...
...
@@ -286,9 +286,9 @@ KfindTabWidget::KfindTabWidget(QWidget *parent)
connect
(
findCreated
,
&
QCheckBox
::
toggled
,
this
,
&
KfindTabWidget
::
fixLayout
);
connect
(
bg
,
static_cast
<
void
(
QButtonGroup
::*
)(
QAbstractButton
*
)
>
(
&
QButtonGroup
::
buttonClicked
),
this
,
&
KfindTabWidget
::
fixLayout
);
connect
(
sizeBox
,
static_cast
<
void
(
KComboBox
::*
)(
int
)
>
(
&
KComboBox
::
activated
),
this
,
&
KfindTabWidget
::
slotSizeBoxChanged
);
connect
(
timeBox
,
static_cast
<
void
(
KInt
SpinBox
::*
)(
int
)
>
(
&
KInt
SpinBox
::
valueChanged
),
this
,
&
KfindTabWidget
::
slotUpdateDateLabelsForNumber
);
connect
(
timeBox
,
static_cast
<
void
(
Q
SpinBox
::*
)(
int
)
>
(
&
Q
SpinBox
::
valueChanged
),
this
,
&
KfindTabWidget
::
slotUpdateDateLabelsForNumber
);
connect
(
betweenType
,
static_cast
<
void
(
KComboBox
::*
)(
int
)
>
(
&
KComboBox
::
currentIndexChanged
),
this
,
&
KfindTabWidget
::
slotUpdateDateLabelsForType
);
connect
(
sizeEdit
,
static_cast
<
void
(
KInt
SpinBox
::*
)(
int
)
>
(
&
KInt
SpinBox
::
valueChanged
),
this
,
&
KfindTabWidget
::
slotUpdateByteComboBox
);
connect
(
sizeEdit
,
static_cast
<
void
(
Q
SpinBox
::*
)(
int
)
>
(
&
Q
SpinBox
::
valueChanged
),
this
,
&
KfindTabWidget
::
slotUpdateByteComboBox
);
// ************ Page Three
...
...
src/kftabdlg.h
View file @
a389382d
...
...
@@ -21,9 +21,9 @@
#include <QValidator> // for KDigitValidator
#include <kurl.h>
#include <ktabwidget.h>
#include <kmimetype.h>
#include <QUrl>
class
KUrlComboBox
;
class
QButtonGroup
;
...
...
@@ -37,7 +37,7 @@ class QRegExp;
class
KDateComboBox
;
class
KDialog
;
class
KComboBox
;
class
KInt
SpinBox
;
class
Q
SpinBox
;
class
QLabel
;
class
KfDirDialog
;
...
...
@@ -117,12 +117,12 @@ private:
QRadioButton
*
rb
[
2
];
KDateComboBox
*
fromDate
;
KDateComboBox
*
toDate
;
KInt
SpinBox
*
timeBox
;
Q
SpinBox
*
timeBox
;
//3rd page
KComboBox
*
sizeBox
;
KComboBox
*
sizeUnitBox
;
KInt
SpinBox
*
sizeEdit
;
Q
SpinBox
*
sizeEdit
;
QCheckBox
*
caseContextCb
;
QCheckBox
*
binaryContextCb
;
QCheckBox
*
regexpContentCb
;
...
...
src/main.cpp
View file @
a389382d
...
...
@@ -18,8 +18,8 @@
#include <QDir>
#include <QFile>
#include <QUrl>
#include <kurl.h>
#include <KLocalizedString>
#include <QApplication>
#include <KAboutData>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment