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
Akonadi Calendar
Commits
f6aacc15
Commit
f6aacc15
authored
Feb 01, 2021
by
Glen Ditchfield
🐛
Browse files
Somehow the merge from release/20.12 did not include this
parent
bda78a52
Pipeline
#49282
failed with stage
in 9 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/incidencechanger.h
View file @
f6aacc15
...
...
@@ -161,6 +161,24 @@ public:
Q_REQUIRED_RESULT
int
createIncidence
(
const
KCalendarCore
::
Incidence
::
Ptr
&
incidence
,
const
Akonadi
::
Collection
&
collection
=
Akonadi
::
Collection
(),
QWidget
*
parent
=
nullptr
);
/**
* Creates a new incidence.
*
* @param item Item containing the incidence to create and metadata, such as tags.
* @param collection Collection where the incidence will be created. If invalid, one according
* to the DestinationPolicy will be used. You can know which collection was
* used by calling lastCollectionUsed();
* @param parent widget parent to be used in dialogs.
*
* @return Returns an integer which identifies this change. This identifier is useful
* to correlate this operation with the IncidenceChanger::createFinished() signal.
*
* Returns -1 if @p item is invalid. The createFinished() signal
* won't be emitted in this case.
*/
Q_REQUIRED_RESULT
int
createFromItem
(
const
Akonadi
::
Item
&
item
,
const
Akonadi
::
Collection
&
collection
=
Akonadi
::
Collection
(),
QWidget
*
parent
=
nullptr
);
/**
* Deletes an incidence. If it's recurring, all occurrences are deleted.
*
...
...
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