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
PIM
KMail
Commits
c805c7fb
Commit
c805c7fb
authored
Apr 30, 2021
by
Laurent Montel
😁
Browse files
const'ify pointer
parent
59ad6935
Pipeline
#60304
passed with stage
in 22 minutes and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/editor/kmcomposerwin.cpp
View file @
c805c7fb
...
...
@@ -232,19 +232,20 @@ KMComposerWin::KMComposerWin(const KMime::Message::Ptr &aMsg,
,
mFolder
(
Akonadi
::
Collection
(
-
1
))
,
mId
(
id
)
,
mContext
(
context
)
,
mPluginEditorManagerInterface
(
new
KMailPluginEditorManagerInterface
(
this
))
,
mPluginEditorGrammarManagerInterface
(
new
KMailPluginGrammarEditorManagerInterface
(
this
))
{
mGlobalAction
=
new
KMComposerGlobalAction
(
this
,
this
);
mComposerBase
=
new
MessageComposer
::
ComposerViewBase
(
this
,
this
);
mComposerBase
->
setIdentityManager
(
kmkernel
->
identityManager
());
mPluginEditorManagerInterface
=
new
KMailPluginEditorManagerInterface
(
this
);
connect
(
mPluginEditorManagerInterface
,
&
KMailPluginEditorManagerInterface
::
message
,
this
,
&
KMComposerWin
::
slotMessage
);
connect
(
mPluginEditorManagerInterface
,
&
KMailPluginEditorManagerInterface
::
insertText
,
this
,
&
KMComposerWin
::
slotEditorPluginInsertText
);
mPluginEditorCheckBeforeSendManagerInterface
=
new
KMailPluginEditorCheckBeforeSendManagerInterface
(
this
);
mPluginEditorInitManagerInterface
=
new
KMailPluginEditorInitManagerInterface
(
this
);
mPluginEditorConvertTextManagerInterface
=
new
KMailPluginEditorConvertTextManagerInterface
(
this
);
mPluginEditorGrammarManagerInterface
=
new
KMailPluginGrammarEditorManagerInterface
(
this
);
connect
(
mComposerBase
,
&
MessageComposer
::
ComposerViewBase
::
disableHtml
,
this
,
&
KMComposerWin
::
disableHtml
);
connect
(
mComposerBase
,
&
MessageComposer
::
ComposerViewBase
::
enableHtml
,
this
,
&
KMComposerWin
::
enableHtml
);
...
...
src/editor/kmcomposerwin.h
View file @
c805c7fb
...
...
@@ -681,11 +681,11 @@ private:
KMComposerGlobalAction
*
mGlobalAction
=
nullptr
;
KPIMTextEdit
::
RichTextEditorWidget
*
mRichTextEditorwidget
=
nullptr
;
KMailPluginEditorManagerInterface
*
mPluginEditorManagerInterface
=
nullptr
;
KMailPluginEditorManagerInterface
*
const
mPluginEditorManagerInterface
;
KMailPluginEditorCheckBeforeSendManagerInterface
*
mPluginEditorCheckBeforeSendManagerInterface
=
nullptr
;
KMailPluginEditorInitManagerInterface
*
mPluginEditorInitManagerInterface
=
nullptr
;
KMailPluginEditorConvertTextManagerInterface
*
mPluginEditorConvertTextManagerInterface
=
nullptr
;
KMailPluginGrammarEditorManagerInterface
*
mPluginEditorGrammarManagerInterface
=
nullptr
;
KMailPluginGrammarEditorManagerInterface
*
const
mPluginEditorGrammarManagerInterface
;
AttachmentAddedFromExternalWarning
*
mAttachmentFromExternalMissing
=
nullptr
;
...
...
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