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
KPimTextEdit
Commits
7d1a5d8b
Commit
7d1a5d8b
authored
Sep 04, 2020
by
Laurent Montel
😁
Browse files
Constify pointer
parent
16907a8f
Pipeline
#33082
passed with stage
in 9 minutes and 59 seconds
Changes
13
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/composer-ng/richtextcomposeractions.cpp
View file @
7d1a5d8b
...
...
@@ -29,7 +29,7 @@ public:
QVector
<
QAction
*>
richTextActionList
;
KPIMTextEdit
::
RichTextComposerControler
*
composerControler
=
nullptr
;
KPIMTextEdit
::
RichTextComposerControler
*
const
composerControler
;
KToggleAction
*
action_align_left
=
nullptr
;
KToggleAction
*
action_align_right
=
nullptr
;
KToggleAction
*
action_align_center
=
nullptr
;
...
...
src/composer-ng/richtextcomposeremailquotedecorator.cpp
View file @
7d1a5d8b
...
...
@@ -16,7 +16,7 @@ public:
{
}
RichTextComposer
*
composerEditor
=
nullptr
;
RichTextComposer
*
const
composerEditor
;
};
RichTextComposerEmailQuoteDecorator
::
RichTextComposerEmailQuoteDecorator
(
RichTextComposer
*
textEdit
)
...
...
src/composer-ng/richtextcomposerimages.cpp
View file @
7d1a5d8b
...
...
@@ -34,7 +34,7 @@ public:
*/
QStringList
mImageNames
;
RichTextComposer
*
co
mposer
=
nullpt
r
;
RichTextComposer
*
co
nst
compose
r
;
};
RichTextComposerImages
::
RichTextComposerImages
(
RichTextComposer
*
composer
,
QObject
*
parent
)
...
...
src/composer-ng/richtextexternalcomposer.cpp
View file @
7d1a5d8b
...
...
@@ -28,7 +28,7 @@ public:
QString
extEditorPath
;
KProcess
*
externalEditorProcess
=
nullptr
;
QTemporaryFile
*
extEditorTempFile
=
nullptr
;
RichTextComposer
*
const
richTextComposer
=
nullptr
;
RichTextComposer
*
const
richTextComposer
;
bool
useExtEditor
=
false
;
};
...
...
src/emoticon/emoticonlistwidgetselector.h
View file @
7d1a5d8b
...
...
@@ -18,7 +18,7 @@ public:
Q_REQUIRED_RESULT
QString
text
()
const
;
private:
QString
mText
;
const
QString
mText
;
};
class
KPIMTEXTEDIT_TESTS_EXPORT
EmoticonListWidgetSelector
:
public
QListWidget
...
...
src/grantleebuilder/markupdirector.h
View file @
7d1a5d8b
...
...
@@ -279,7 +279,7 @@ protected:
The builder this MarkupDirector is operating on. This is available when
subclassing to customize behaviour.
*/
KPIMTextEdit
::
AbstractMarkupBuilder
*
m_builder
;
KPIMTextEdit
::
AbstractMarkupBuilder
*
const
m_builder
;
#ifndef Q_QDOC
private:
...
...
src/tableactionmenu.cpp
View file @
7d1a5d8b
...
...
@@ -71,7 +71,7 @@ public:
QAction
*
actionRemoveCellContents
=
nullptr
;
QTextEdit
*
textEdit
=
nullptr
;
QTextEdit
*
const
textEdit
;
TableActionMenu
*
const
q
;
bool
richTextMode
=
false
;
};
...
...
src/texteditor/plaintexteditor/plaintexteditfindbar.cpp
View file @
7d1a5d8b
...
...
@@ -25,7 +25,7 @@ public:
{
}
QPlainTextEdit
*
mView
=
nullptr
;
QPlainTextEdit
*
const
mView
;
};
PlainTextEditFindBar
::
PlainTextEditFindBar
(
QPlainTextEdit
*
view
,
QWidget
*
parent
)
...
...
src/texteditor/plaintexteditor/plaintexteditor.cpp
View file @
7d1a5d8b
...
...
@@ -62,9 +62,9 @@ public:
}
QStringList
ignoreSpellCheckingWords
;
PlainTextEditor
*
q
;
KPIMTextEdit
::
TextMessageIndicator
*
mTextIndicator
=
nullptr
;
KIO
::
KUriFilterSearchProviderActions
*
webshortcutMenuManager
=
nullptr
;
PlainTextEditor
*
const
q
;
KPIMTextEdit
::
TextMessageIndicator
*
const
mTextIndicator
;
KIO
::
KUriFilterSearchProviderActions
*
const
webshortcutMenuManager
;
Sonnet
::
SpellCheckDecorator
*
richTextDecorator
=
nullptr
;
Sonnet
::
Speller
*
speller
=
nullptr
;
...
...
src/texteditor/richtexteditor/richtexteditfindbar.cpp
View file @
7d1a5d8b
...
...
@@ -24,7 +24,7 @@ public:
{
}
QTextEdit
*
mView
=
nullptr
;
QTextEdit
*
const
mView
;
};
RichTextEditFindBar
::
RichTextEditFindBar
(
QTextEdit
*
view
,
QWidget
*
parent
)
...
...
src/texteditor/richtexteditor/richtexteditor.cpp
View file @
7d1a5d8b
...
...
@@ -91,13 +91,13 @@ public:
QStringList
ignoreSpellCheckingWords
;
RichTextEditor
*
const
q
;
KPIMTextEdit
::
TextMessageIndicator
*
textIndicator
=
nullptr
;
KPIMTextEdit
::
TextMessageIndicator
*
const
textIndicator
;
QString
spellCheckingConfigFileName
;
QString
spellCheckingLanguage
;
QTextDocumentFragment
originalDoc
;
Sonnet
::
SpellCheckDecorator
*
richTextDecorator
=
nullptr
;
Sonnet
::
Speller
*
speller
=
nullptr
;
KIO
::
KUriFilterSearchProviderActions
*
webshortcutMenuManager
=
nullptr
;
KIO
::
KUriFilterSearchProviderActions
*
const
webshortcutMenuManager
;
RichTextEditor
::
SupportFeatures
supportFeatures
;
int
mInitialFontSize
;
bool
customPalette
=
false
;
...
...
src/texteditorcompleter.cpp
View file @
7d1a5d8b
...
...
@@ -32,7 +32,7 @@ public:
}
void
setCompletion
(
const
QString
&
completion
);
QString
wordUnderCursor
()
const
;
Q_REQUIRED_RESULT
QString
wordUnderCursor
()
const
;
void
createCompleter
();
void
completeText
();
QString
excludeOfCharacters
;
...
...
src/texttospeech/texttospeechinterface.cpp
View file @
7d1a5d8b
...
...
@@ -17,7 +17,7 @@ public:
{
}
TextToSpeechWidget
*
mTextToSpeechWidget
=
nullptr
;
TextToSpeechWidget
*
const
mTextToSpeechWidget
;
};
TextToSpeechInterface
::
TextToSpeechInterface
(
TextToSpeechWidget
*
textToSpeechWidget
,
QObject
*
parent
)
...
...
Write
Preview
Supports
Markdown
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