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
PIM IncidenceEditor
Commits
a4345186
Commit
a4345186
authored
Sep 02, 2021
by
Laurent Montel
😁
Browse files
const'ify pointer + use Q_REQUIRED_RESULT
parent
38d86317
Pipeline
#77868
failed with stage
in 7 minutes and 3 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/conflictresolver.h
View file @
a4345186
...
...
@@ -91,7 +91,7 @@ public:
* @see setMandatoryRoles
* @see setAllowedWeekdays
*/
KCalendarCore
::
Period
::
List
availableSlots
()
const
;
Q_REQUIRED_RESULT
KCalendarCore
::
Period
::
List
availableSlots
()
const
;
/**
Finds a free slot in the future which has at least the same size as
...
...
src/incidenceattachment.h
View file @
a4345186
...
...
@@ -73,7 +73,7 @@ private:
AttachmentIconView
*
mAttachmentView
=
nullptr
;
Ui
::
EventOrTodoDesktop
*
const
mUi
;
QMenu
*
mPopupMenu
=
nullptr
;
QMenu
*
const
mPopupMenu
;
QAction
*
mOpenAction
=
nullptr
;
QAction
*
mSaveAsAction
=
nullptr
;
#ifndef QT_NO_CLIPBOARD
...
...
src/incidencedefaults.cpp
View file @
a4345186
...
...
@@ -52,7 +52,7 @@ public:
bool
mCleanupTemporaryFiles
;
/// Methods
KCalendarCore
::
Person
organizerAsPerson
()
const
;
Q_REQUIRED_RESULT
KCalendarCore
::
Person
organizerAsPerson
()
const
;
KCalendarCore
::
Attendee
organizerAsAttendee
(
const
KCalendarCore
::
Person
&
organizer
)
const
;
void
todoDefaults
(
const
KCalendarCore
::
Todo
::
Ptr
&
todo
)
const
;
...
...
src/incidencedescription.h
View file @
a4345186
...
...
@@ -48,7 +48,7 @@ private:
void
setupToolBar
();
private:
Ui
::
EventOrTodoDesktop
*
mUi
=
nullptr
;
Ui
::
EventOrTodoDesktop
*
const
mUi
;
//@cond PRIVATE
Q_DECLARE_PRIVATE
(
IncidenceDescription
)
IncidenceDescriptionPrivate
*
const
d
;
...
...
src/incidencerecurrence.h
View file @
a4345186
...
...
@@ -108,9 +108,9 @@ private:
QDate
currentDate
()
const
;
private:
Ui
::
EventOrTodoDesktop
*
mUi
=
nullptr
;
Ui
::
EventOrTodoDesktop
*
const
mUi
;
QDate
mCurrentDate
;
IncidenceDateTime
*
mDateTime
=
nullptr
;
IncidenceDateTime
*
const
mDateTime
;
KCalendarCore
::
DateList
mExceptionDates
;
// So we can easily detect if the user changed the type,
...
...
src/incidenceresource.h
View file @
a4345186
...
...
@@ -51,7 +51,7 @@ private:
void
slotDateChanged
();
void
dialogOkPressed
();
Ui
::
EventOrTodoDesktop
*
mUi
=
nullptr
;
Ui
::
EventOrTodoDesktop
*
const
mUi
;
/** completer for findResources */
QCompleter
*
completer
=
nullptr
;
...
...
src/schedulingdialog.h
View file @
a4345186
...
...
@@ -56,7 +56,7 @@ private:
QTime
mSelectedTime
;
int
mDuration
;
//!< In seconds
ConflictResolver
*
mResolver
=
nullptr
;
ConflictResolver
*
const
mResolver
;
CalendarSupport
::
FreePeriodModel
*
const
mPeriodModel
;
VisualFreeBusyWidget
*
mVisualWidget
=
nullptr
;
};
...
...
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