Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kalendar
Commits
ae13b023
Commit
ae13b023
authored
Aug 12, 2022
by
Claudio Cambra
Browse files
Remove duplicate property definitions in incidencewrapper.h
Signed-off-by:
Claudio Cambra
<
claudio.cambra@gmail.com
>
parent
e86d1385
Pipeline
#216986
failed with stage
in 2 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/incidencewrapper.h
View file @
ae13b023
...
...
@@ -35,7 +35,6 @@ class IncidenceWrapper : public QObject, public Akonadi::ItemMonitor
// Akonadi properties
Q_PROPERTY
(
Akonadi
::
Item
incidenceItem
READ
incidenceItem
WRITE
setIncidenceItem
NOTIFY
incidenceItemChanged
)
Q_PROPERTY
(
KCalendarCore
::
Incidence
::
Ptr
incidencePtr
READ
incidencePtr
WRITE
setIncidencePtr
NOTIFY
incidencePtrChanged
)
Q_PROPERTY
(
qint64
collectionId
READ
collectionId
WRITE
setCollectionId
NOTIFY
collectionIdChanged
)
// Incidence properties
...
...
@@ -45,8 +44,6 @@ class IncidenceWrapper : public QObject, public Akonadi::ItemMonitor
Q_PROPERTY
(
QString
incidenceTypeStr
READ
incidenceTypeStr
NOTIFY
incidenceTypeStrChanged
)
Q_PROPERTY
(
QString
incidenceIconName
READ
incidenceIconName
NOTIFY
incidenceIconNameChanged
)
Q_PROPERTY
(
QString
uid
READ
uid
CONSTANT
)
// TODO: This needs to not be a CONSTANT
Q_PROPERTY
(
qint64
collectionId
READ
collectionId
WRITE
setCollectionId
NOTIFY
collectionIdChanged
)
Q_PROPERTY
(
QString
uid
READ
uid
CONSTANT
)
Q_PROPERTY
(
QString
parent
READ
parent
WRITE
setParent
NOTIFY
parentChanged
)
Q_PROPERTY
(
IncidenceWrapper
*
parentIncidence
READ
parentIncidence
NOTIFY
parentIncidenceChanged
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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