Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KPimTextEdit
Commits
e8883e2e
Commit
e8883e2e
authored
Aug 30, 2022
by
Laurent Montel
Browse files
Not necessary to use Q_SLOTS here
parent
8ff1326e
Pipeline
#224896
passed with stage
in 6 minutes and 23 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/slidecontainer.h
View file @
e8883e2e
...
...
@@ -67,10 +67,8 @@ protected:
void
resizeEvent
(
QResizeEvent
*
)
override
;
bool
eventFilter
(
QObject
*
,
QEvent
*
event
)
override
;
private
Q_SLOTS
:
void
slotAnimFinished
();
private:
void
slotAnimFinished
();
QPointer
<
QWidget
>
mContent
;
QPointer
<
QPropertyAnimation
>
mAnim
;
bool
mSlidingOut
=
false
;
...
...
src/texteditor/commonwidget/textfindreplacewidget.h
View file @
e8883e2e
...
...
@@ -34,9 +34,6 @@ public:
Q_REQUIRED_RESULT
QString
searchText
()
const
;
private
Q_SLOTS
:
void
slotAutoSearch
(
const
QString
&
str
);
Q_SIGNALS:
void
findNext
();
void
findPrev
();
...
...
@@ -46,6 +43,7 @@ Q_SIGNALS:
void
searchStringEmpty
(
bool
);
private:
void
slotAutoSearch
(
const
QString
&
str
);
void
slotRegularExpressionChanged
(
bool
b
);
QLineEdit
*
const
mSearch
;
QAction
*
mCaseSensitiveAct
=
nullptr
;
...
...
src/texteditor/commonwidget/textgotolinewidget.h
View file @
e8883e2e
...
...
@@ -38,11 +38,9 @@ protected:
public
Q_SLOTS
:
void
slotBlockCountChanged
(
int
numberBlockCount
);
private
Q_SLOTS
:
private:
void
slotCloseBar
();
void
slotGoToLine
();
private:
std
::
unique_ptr
<
TextGoToLineWidgetPrivate
>
const
d
;
};
}
src/texteditor/plaintexteditor/plaintexteditor.h
View file @
e8883e2e
...
...
@@ -66,7 +66,8 @@ public Q_SLOTS:
void
slotCheckSpelling
();
void
slotSpeakText
();
void
slotZoomReset
();
private
Q_SLOTS
:
private:
void
slotUndoableClear
();
void
slotSpellCheckerMisspelling
(
const
QString
&
text
,
int
pos
);
void
slotSpellCheckerCorrected
(
const
QString
&
,
int
,
const
QString
&
);
...
...
src/texteditor/plaintexteditor/plaintexteditorwidget.h
View file @
e8883e2e
...
...
@@ -38,13 +38,12 @@ public:
void
setSpellCheckingConfigFileName
(
const
QString
&
_fileName
);
Q_REQUIRED_RESULT
bool
isEmpty
()
const
;
private
Q_SLOTS
:
private:
void
slotFind
();
void
slotReplace
();
void
slotHideFindBar
();
private:
void
init
(
PlainTextEditor
*
customEditor
=
nullptr
);
std
::
unique_ptr
<
PlainTextEditorWidgetPrivate
>
const
d
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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