Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Add-ons
Commits
6288552a
Commit
6288552a
authored
Aug 30, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up code
parent
e0f86a20
Pipeline
#32344
failed with stage
in 119 minutes and 34 seconds
Changes
15
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
16 additions
and
23 deletions
+16
-23
kmail/editorconvertertextplugins/markdown/markdownlib/markdownhighlighter.h
...tertextplugins/markdown/markdownlib/markdownhighlighter.h
+1
-1
kmail/editorinitplugins/externalcomposer/externalcomposerconfiguredialog.cpp
...gins/externalcomposer/externalcomposerconfiguredialog.cpp
+0
-1
kmail/grammarplugins/languagetool/src/languagetoolmanager.h
kmail/grammarplugins/languagetool/src/languagetoolmanager.h
+1
-1
kmail/grammarplugins/languagetool/src/languagetoolresultjob.h
...l/grammarplugins/languagetool/src/languagetoolresultjob.h
+1
-1
kmailtransport/sendmail/sendmailconfigdialog.cpp
kmailtransport/sendmail/sendmailconfigdialog.cpp
+0
-2
plugins/customtoolsplugins/translatorplugin/translatorview.cpp
...ns/customtoolsplugins/translatorplugin/translatorview.cpp
+0
-2
plugins/messageviewer/bodypartformatter/calendar/memorycalendarmemento.cpp
...ewer/bodypartformatter/calendar/memorycalendarmemento.cpp
+0
-1
plugins/messageviewer/bodypartformatter/highlighter/highlighter.h
...messageviewer/bodypartformatter/highlighter/highlighter.h
+1
-1
plugins/messageviewerheaderplugins/briefheaderstyleplugin/briefheaderstyleplugin.h
...erplugins/briefheaderstyleplugin/briefheaderstyleplugin.h
+2
-2
plugins/messageviewerheaderplugins/enterpriseheaderstyleplugin/enterpriseheaderstyleplugin.h
...enterpriseheaderstyleplugin/enterpriseheaderstyleplugin.h
+2
-2
plugins/messageviewerheaderplugins/fancyheaderstyleplugin/fancyheaderstyleplugin.h
...erplugins/fancyheaderstyleplugin/fancyheaderstyleplugin.h
+2
-2
plugins/messageviewerheaderplugins/grantleeheaderstyleplugin/grantleeheaderstyleplugin.h
...ins/grantleeheaderstyleplugin/grantleeheaderstyleplugin.h
+2
-2
plugins/messageviewerheaderplugins/longheaderstyleplugin/longheaderstyleplugin.h
...aderplugins/longheaderstyleplugin/longheaderstyleplugin.h
+2
-2
plugins/messageviewerheaderplugins/standardsheaderstyleplugin/standardsheaderstyleplugin.h
...s/standardsheaderstyleplugin/standardsheaderstyleplugin.h
+2
-2
plugins/messageviewerplugins/common/translatorplugin/viewerplugintranslatorinterface.cpp
...mmon/translatorplugin/viewerplugintranslatorinterface.cpp
+0
-1
No files found.
kmail/editorconvertertextplugins/markdown/markdownlib/markdownhighlighter.h
View file @
6288552a
...
...
@@ -23,7 +23,7 @@ protected:
void
applyFormat
(
int
offset
,
int
length
,
const
KSyntaxHighlighting
::
Format
&
format
)
override
;
private:
QString
mCurrentLine
;
QTextStream
*
mStream
;
QTextStream
*
const
mStream
;
};
#endif // MARKDOWNHighlighter_H
kmail/editorinitplugins/externalcomposer/externalcomposerconfiguredialog.cpp
View file @
6288552a
...
...
@@ -10,7 +10,6 @@
ExternalComposerConfigureDialog
::
ExternalComposerConfigureDialog
(
QWidget
*
parent
)
:
PimCommon
::
ConfigurePluginDialog
(
parent
)
,
mConfigureWidget
(
nullptr
)
{
setWindowTitle
(
i18nc
(
"@title:window"
,
"Configure
\"
External Composer
\"
Plugin"
));
initLayout
();
...
...
kmail/grammarplugins/languagetool/src/languagetoolmanager.h
View file @
6288552a
...
...
@@ -46,7 +46,7 @@ private:
QHash
<
QString
,
QColor
>
mGrammarColor
;
QString
mLanguage
;
QString
mLanguageToolPath
;
QNetworkAccessManager
*
mNetworkAccessManager
=
nullptr
;
QNetworkAccessManager
*
const
mNetworkAccessManager
;
bool
mUseLocalInstance
=
false
;
};
...
...
kmail/grammarplugins/languagetool/src/languagetoolresultjob.h
View file @
6288552a
...
...
@@ -18,7 +18,7 @@ class LIBLANGUAGETOOLPRIVATE_TESTS_EXPORT LanguageToolResultJob : public QObject
public:
explicit
LanguageToolResultJob
(
QObject
*
parent
=
nullptr
);
~
LanguageToolResultJob
();
bool
canStart
()
const
;
Q_REQUIRED_RESULT
bool
canStart
()
const
;
void
start
();
Q_REQUIRED_RESULT
QStringList
arguments
()
const
;
void
setArguments
(
const
QStringList
&
arguments
);
...
...
kmailtransport/sendmail/sendmailconfigdialog.cpp
View file @
6288552a
...
...
@@ -18,8 +18,6 @@ using namespace MailTransport;
SendMailConfigDialog
::
SendMailConfigDialog
(
MailTransport
::
Transport
*
transport
,
QWidget
*
parent
)
:
QDialog
(
parent
)
,
mTransport
(
transport
)
,
mConfigWidget
(
nullptr
)
,
mOkButton
(
nullptr
)
{
Q_ASSERT
(
transport
);
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
(
this
);
...
...
plugins/customtoolsplugins/translatorplugin/translatorview.cpp
View file @
6288552a
...
...
@@ -14,8 +14,6 @@
TranslatorView
::
TranslatorView
(
KActionCollection
*
ac
,
QWidget
*
parent
)
:
PimCommon
::
CustomToolsViewInterface
(
parent
)
,
mAction
(
nullptr
)
,
mTranslatorWidget
(
nullptr
)
{
QHBoxLayout
*
layout
=
new
QHBoxLayout
(
this
);
layout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
...
...
plugins/messageviewer/bodypartformatter/calendar/memorycalendarmemento.cpp
View file @
6288552a
...
...
@@ -14,7 +14,6 @@ using namespace Akonadi;
MemoryCalendarMemento
::
MemoryCalendarMemento
()
:
QObject
(
nullptr
)
,
mFinished
(
false
)
{
Akonadi
::
ETMCalendar
::
Ptr
etmCalendar
=
CalendarSupport
::
calendarSingleton
(
/*createIfNull=*/
false
);
if
(
etmCalendar
&&
etmCalendar
->
isLoaded
())
{
...
...
plugins/messageviewer/bodypartformatter/highlighter/highlighter.h
View file @
6288552a
...
...
@@ -23,7 +23,7 @@ protected:
void
applyFormat
(
int
offset
,
int
length
,
const
KSyntaxHighlighting
::
Format
&
format
)
override
;
private:
QString
mCurrentLine
;
QTextStream
*
mStream
;
QTextStream
*
const
mStream
;
};
#endif // DIFFHIGHLIGHTER_H
plugins/messageviewerheaderplugins/briefheaderstyleplugin/briefheaderstyleplugin.h
View file @
6288552a
...
...
@@ -25,8 +25,8 @@ public:
HeaderStyleInterface
*
createView
(
KActionMenu
*
menu
,
QActionGroup
*
actionGroup
,
KActionCollection
*
ac
,
QObject
*
parent
=
nullptr
)
override
;
QString
name
()
const
override
;
private:
HeaderStyle
*
mHeaderStyle
=
nullptr
;
HeaderStrategy
*
mHeaderStrategy
=
nullptr
;
HeaderStyle
*
const
mHeaderStyle
;
HeaderStrategy
*
const
mHeaderStrategy
;
};
}
#endif // BRIEFHEADERSTYLEPLUGIN_H
plugins/messageviewerheaderplugins/enterpriseheaderstyleplugin/enterpriseheaderstyleplugin.h
View file @
6288552a
...
...
@@ -27,8 +27,8 @@ public:
QString
alignment
()
const
override
;
int
elidedTextSize
()
const
override
;
private:
HeaderStyle
*
mHeaderStyle
=
nullptr
;
HeaderStrategy
*
mHeaderStrategy
=
nullptr
;
HeaderStyle
*
const
mHeaderStyle
;
HeaderStrategy
*
const
mHeaderStrategy
;
};
}
#endif // ENTERPRISEHEADERSTYLEPLUGIN_H
plugins/messageviewerheaderplugins/fancyheaderstyleplugin/fancyheaderstyleplugin.h
View file @
6288552a
...
...
@@ -30,8 +30,8 @@ public:
QString
attachmentHtml
()
const
override
;
private:
HeaderStyle
*
mHeaderStyle
=
nullptr
;
HeaderStrategy
*
mHeaderStrategy
=
nullptr
;
HeaderStyle
*
const
mHeaderStyle
;
HeaderStrategy
*
const
mHeaderStrategy
;
};
}
#endif // FANCYHEADERSTYLEPLUGIN_H
plugins/messageviewerheaderplugins/grantleeheaderstyleplugin/grantleeheaderstyleplugin.h
View file @
6288552a
...
...
@@ -24,8 +24,8 @@ public:
HeaderStyleInterface
*
createView
(
KActionMenu
*
menu
,
QActionGroup
*
actionGroup
,
KActionCollection
*
ac
,
QObject
*
parent
=
nullptr
)
override
;
QString
name
()
const
override
;
private:
HeaderStyle
*
mHeaderStyle
=
nullptr
;
HeaderStrategy
*
mHeaderStrategy
=
nullptr
;
HeaderStyle
*
const
mHeaderStyle
;
HeaderStrategy
*
const
mHeaderStrategy
;
};
}
#endif // GRANTLEEHEADERSTYLEPLUGIN_H
plugins/messageviewerheaderplugins/longheaderstyleplugin/longheaderstyleplugin.h
View file @
6288552a
...
...
@@ -24,8 +24,8 @@ public:
HeaderStyleInterface
*
createView
(
KActionMenu
*
menu
,
QActionGroup
*
actionGroup
,
KActionCollection
*
ac
,
QObject
*
parent
=
nullptr
)
override
;
QString
name
()
const
override
;
private:
HeaderStyle
*
mHeaderStyle
=
nullptr
;
HeaderStrategy
*
mHeaderStrategy
=
nullptr
;
HeaderStyle
*
const
mHeaderStyle
;
HeaderStrategy
*
const
mHeaderStrategy
;
};
}
#endif // LONGHEADERSTYLEPLUGIN_H
plugins/messageviewerheaderplugins/standardsheaderstyleplugin/standardsheaderstyleplugin.h
View file @
6288552a
...
...
@@ -24,8 +24,8 @@ public:
HeaderStyleInterface
*
createView
(
KActionMenu
*
menu
,
QActionGroup
*
actionGroup
,
KActionCollection
*
ac
,
QObject
*
parent
=
nullptr
)
override
;
QString
name
()
const
override
;
private:
HeaderStyle
*
mHeaderStyle
=
nullptr
;
HeaderStrategy
*
mHeaderStrategy
=
nullptr
;
HeaderStyle
*
const
mHeaderStyle
;
HeaderStrategy
*
const
mHeaderStrategy
;
};
}
#endif // STANDARDSHEADERSTYLEPLUGIN_H
plugins/messageviewerplugins/common/translatorplugin/viewerplugintranslatorinterface.cpp
View file @
6288552a
...
...
@@ -17,7 +17,6 @@ using namespace MessageViewer;
ViewerPluginTranslatorInterface
::
ViewerPluginTranslatorInterface
(
KActionCollection
*
ac
,
QWidget
*
parent
)
:
ViewerPluginInterface
(
parent
)
,
mTranslatorWidget
(
nullptr
)
{
createAction
(
ac
);
}
...
...
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