Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KAlarm
Commits
5d326a1d
Commit
5d326a1d
authored
Jan 28, 2015
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Q_NULLPTR here too
parent
280b15da
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
alarmcalendar.h
alarmcalendar.h
+1
-1
alarmlistdelegate.h
alarmlistdelegate.h
+1
-1
collectionmodel.h
collectionmodel.h
+1
-1
templatelistview.h
templatelistview.h
+1
-1
No files found.
alarmcalendar.h
View file @
5d326a1d
...
...
@@ -69,7 +69,7 @@ class AlarmCalendar : public QObject
KCalCore
::
Event
::
List
kcalEvents
(
CalEvent
::
Type
s
=
CalEvent
::
EMPTY
);
// display calendar only
bool
eventReadOnly
(
Akonadi
::
Item
::
Id
)
const
;
Akonadi
::
Collection
collectionForEvent
(
Akonadi
::
Item
::
Id
)
const
;
bool
addEvent
(
KAEvent
&
,
QWidget
*
prompt
P
arent
=
0
,
bool
useEventID
=
false
,
Akonadi
::
Collection
*
=
0
,
bool
noPrompt
=
false
,
bool
*
cancelled
=
0
);
bool
addEvent
(
KAEvent
&
,
QWidget
*
prompt
p
arent
=
Q_NULLPTR
,
bool
useEventID
=
false
,
Akonadi
::
Collection
*
=
0
,
bool
noPrompt
=
false
,
bool
*
cancelled
=
0
);
bool
modifyEvent
(
const
EventId
&
oldEventId
,
KAEvent
&
newEvent
);
KAEvent
*
updateEvent
(
const
KAEvent
&
);
KAEvent
*
updateEvent
(
const
KAEvent
*
);
...
...
alarmlistdelegate.h
View file @
5d326a1d
...
...
@@ -30,7 +30,7 @@ class AlarmListDelegate : public EventListDelegate
{
Q_OBJECT
public:
explicit
AlarmListDelegate
(
AlarmListView
*
parent
=
0
)
explicit
AlarmListDelegate
(
AlarmListView
*
parent
=
Q_NULLPTR
)
:
EventListDelegate
(
parent
)
{}
void
paint
(
QPainter
*
,
const
QStyleOptionViewItem
&
,
const
QModelIndex
&
)
const
Q_DECL_OVERRIDE
;
QSize
sizeHint
(
const
QStyleOptionViewItem
&
,
const
QModelIndex
&
)
const
Q_DECL_OVERRIDE
;
...
...
collectionmodel.h
View file @
5d326a1d
...
...
@@ -252,7 +252,7 @@ class CollectionControlModel : public Akonadi::FavoriteCollectionsModel
* @param cancelled If non-null: set to true if the user cancelled
* the prompt dialogue; set to false if any other error.
*/
static
Akonadi
::
Collection
destination
(
CalEvent
::
Type
,
QWidget
*
prompt
P
arent
=
0
,
bool
noPrompt
=
false
,
bool
*
cancelled
=
0
);
static
Akonadi
::
Collection
destination
(
CalEvent
::
Type
,
QWidget
*
prompt
p
arent
=
Q_NULLPTR
,
bool
noPrompt
=
false
,
bool
*
cancelled
=
0
);
/** Return the enabled collections which contain a specified mime type.
* If 'writable' is true, only writable collections are included.
...
...
templatelistview.h
View file @
5d326a1d
...
...
@@ -38,7 +38,7 @@ class TemplateListDelegate : public EventListDelegate
{
Q_OBJECT
public:
explicit
TemplateListDelegate
(
TemplateListView
*
parent
=
0
)
explicit
TemplateListDelegate
(
TemplateListView
*
parent
=
Q_NULLPTR
)
:
EventListDelegate
(
parent
)
{}
virtual
void
edit
(
KAEvent
*
,
EventListView
*
);
};
...
...
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