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
288beac2
Commit
288beac2
authored
Sep 08, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Const'ify variable when possible
parent
27da7a56
Pipeline
#33600
failed with stage
in 60 minutes and 8 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
plugins/messageviewerplugins/createtodoplugin/createtodojob.h
...ins/messageviewerplugins/createtodoplugin/createtodojob.h
+1
-1
plugins/plasma/pimeventsplugin/eventdatavisitor.h
plugins/plasma/pimeventsplugin/eventdatavisitor.h
+3
-3
sieveeditor/imapfoldercompletion/selectimapfolderwidget.h
sieveeditor/imapfoldercompletion/selectimapfolderwidget.h
+1
-1
sieveeditor/imapfoldercompletion/selectimaplineeditcompletermodel.cpp
...imapfoldercompletion/selectimaplineeditcompletermodel.cpp
+1
-1
sieveeditor/imapfoldercompletion/selectimaplineeditcompletermodel.h
...r/imapfoldercompletion/selectimaplineeditcompletermodel.h
+2
-2
No files found.
plugins/messageviewerplugins/createtodoplugin/createtodojob.h
View file @
288beac2
...
...
@@ -30,7 +30,7 @@ private Q_SLOTS:
private:
void
createTodo
();
Akonadi
::
Item
mItem
;
Akonadi
::
Collection
mCollection
;
const
Akonadi
::
Collection
mCollection
;
KCalendarCore
::
Todo
::
Ptr
mTodoPtr
;
};
}
...
...
plugins/plasma/pimeventsplugin/eventdatavisitor.h
View file @
288beac2
...
...
@@ -30,9 +30,9 @@ protected:
QVector
<
CalendarEvents
::
EventData
>
explodeIncidenceOccurences
(
const
CalendarEvents
::
EventData
&
ed
,
const
KCalendarCore
::
Incidence
::
Ptr
&
incidence
,
bool
&
ok
);
protected:
PimDataSource
*
mDataSource
=
nullptr
;
QDate
mStart
;
QDate
mEnd
;
PimDataSource
*
const
mDataSource
;
const
QDate
mStart
;
const
QDate
mEnd
;
};
class
EventDataVisitor
:
public
BaseEventDataVisitor
...
...
sieveeditor/imapfoldercompletion/selectimapfolderwidget.h
View file @
288beac2
...
...
@@ -38,7 +38,7 @@ private:
void
slotCurrentChanged
(
const
QModelIndex
&
current
,
const
QModelIndex
&
previous
);
void
slotRefreshImap
();
KSieveUi
::
SieveImapAccountSettings
mAccount
;
const
KSieveUi
::
SieveImapAccountSettings
mAccount
;
QLineEdit
*
mSearchLineEdit
=
nullptr
;
SelectImapFolderTreeView
*
mTreeView
=
nullptr
;
QStandardItemModel
*
mModel
=
nullptr
;
...
...
sieveeditor/imapfoldercompletion/selectimaplineeditcompletermodel.cpp
View file @
288beac2
...
...
@@ -12,8 +12,8 @@
SelectImapLineEditCompleterModel
::
SelectImapLineEditCompleterModel
(
const
KSieveUi
::
SieveImapAccountSettings
&
account
,
QObject
*
parent
)
:
QObject
(
parent
)
,
mFlatProxy
(
new
KDescendantsProxyModel
(
this
))
{
mFlatProxy
=
new
KDescendantsProxyModel
(
this
);
mFlatProxy
->
setDisplayAncestorData
(
true
);
mFlatProxy
->
setAncestorSeparator
(
QStringLiteral
(
"/"
));
bool
modelIsInitalized
=
false
;
...
...
sieveeditor/imapfoldercompletion/selectimaplineeditcompletermodel.h
View file @
288beac2
...
...
@@ -20,9 +20,9 @@ public:
explicit
SelectImapLineEditCompleterModel
(
const
KSieveUi
::
SieveImapAccountSettings
&
account
,
QObject
*
parent
=
nullptr
);
~
SelectImapLineEditCompleterModel
();
QAbstractProxyModel
*
completerModel
()
const
;
Q_REQUIRED_RESULT
QAbstractProxyModel
*
completerModel
()
const
;
private:
KDescendantsProxyModel
*
mFlatProxy
=
nullptr
;
KDescendantsProxyModel
*
const
mFlatProxy
;
};
#endif // SELECTIMAPLINEEDITCOMPLETERMODEL_H
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