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
b54f287a
Commit
b54f287a
authored
Dec 10, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more Q_DECL_OVERRIDE
parent
20caeae8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
birthdaymodel.h
birthdaymodel.h
+1
-1
collectionmodel.cpp
collectionmodel.cpp
+1
-1
collectionmodel.h
collectionmodel.h
+2
-2
itemlistmodel.h
itemlistmodel.h
+5
-5
No files found.
birthdaymodel.h
View file @
b54f287a
...
...
@@ -75,7 +75,7 @@ class BirthdaySortModel : public QSortFilterProxyModel
void
setPrefixSuffix
(
const
QString
&
prefix
,
const
QString
&
suffix
);
protected:
virtual
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
;
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
Q_DECL_OVERRIDE
;
private:
QStringList
mContactsWithAlarm
;
...
...
collectionmodel.cpp
View file @
b54f287a
...
...
@@ -69,7 +69,7 @@ class CollectionMimeTypeFilterModel : public Akonadi::EntityMimeTypeFilterModel
QModelIndex
collectionIndex
(
const
Akonadi
::
Collection
&
)
const
;
protected:
virtual
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
;
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
Q_DECL_OVERRIDE
;
private:
CalEvent
::
Type
mAlarmType
;
// collection content type contained in this model
...
...
collectionmodel.h
View file @
b54f287a
...
...
@@ -117,10 +117,10 @@ class CollectionFilterCheckListModel : public QSortFilterProxyModel
void
setEventTypeFilter
(
CalEvent
::
Type
);
Akonadi
::
Collection
collection
(
int
row
)
const
;
Akonadi
::
Collection
collection
(
const
QModelIndex
&
)
const
;
virtual
QVariant
data
(
const
QModelIndex
&
,
int
role
=
Qt
::
DisplayRole
)
const
;
QVariant
data
(
const
QModelIndex
&
,
int
role
=
Qt
::
DisplayRole
)
const
Q_DECL_OVERRIDE
;
protected:
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
;
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
Q_DECL_OVERRIDE
;
private
Q_SLOTS
:
void
collectionTypeChanged
(
CollectionCheckListModel
*
);
...
...
itemlistmodel.h
View file @
b54f287a
...
...
@@ -65,7 +65,7 @@ class ItemListModel : public Akonadi::EntityMimeTypeFilterModel
void
haveEventsStatus
(
bool
have
);
protected:
virtual
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
;
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
Q_DECL_OVERRIDE
;
private
Q_SLOTS
:
void
slotRowsInserted
();
...
...
@@ -114,8 +114,8 @@ class AlarmListModel : public ItemListModel
virtual
QVariant
headerData
(
int
section
,
Qt
::
Orientation
,
int
role
=
Qt
::
DisplayRole
)
const
;
protected:
virtual
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
;
virtual
bool
filterAcceptsColumn
(
int
sourceCol
,
const
QModelIndex
&
sourceParent
)
const
;
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
Q_DECL_OVERRIDE
;
bool
filterAcceptsColumn
(
int
sourceCol
,
const
QModelIndex
&
sourceParent
)
const
Q_DECL_OVERRIDE
;
private:
static
AlarmListModel
*
mAllInstance
;
...
...
@@ -162,8 +162,8 @@ class TemplateListModel : public ItemListModel
virtual
Qt
::
ItemFlags
flags
(
const
QModelIndex
&
)
const
;
protected:
virtual
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
;
virtual
bool
filterAcceptsColumn
(
int
sourceCol
,
const
QModelIndex
&
sourceParent
)
const
;
bool
filterAcceptsRow
(
int
sourceRow
,
const
QModelIndex
&
sourceParent
)
const
Q_DECL_OVERRIDE
;
bool
filterAcceptsColumn
(
int
sourceCol
,
const
QModelIndex
&
sourceParent
)
const
Q_DECL_OVERRIDE
;
private:
static
TemplateListModel
*
mAllInstance
;
...
...
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