NotebookEntrySortColumn

Since: BlackBerry 10.2.0

#include <bb/pim/notebook/NotebookEntrySortColumn>

To link against this class, add the following line to your .pro file: LIBS += -lbbpim

The NotebookEntrySortColumn class represents the columns that can be used to sort notebook entries.

You can use the NotebookEntrySortColumn::Type enumeration to specify the columns that should be used to sort notebook entries. For example, you can use a NotebookEntrySortColumn::Type enumeration value in NotebookEntryFilter::setSortBy() to sort notebook entries by title, due date, last modified date or creation date.


Overview

Public Types

Type

An enumeration of possible columns that can be used to sort notebook entries.

Since:

BlackBerry 10.2.0

Title = 0

Indicates that notebook entries should be sorted by Title.

DueDate = 1

Indicates that notebook entries should be sorted by due date.

Since:

BlackBerry 10.2.0

CreationDate = 2

Indicates that notebook entries should be sorted by creation date.

Since:

BlackBerry 10.2.0

LastModifiedDate = 3

Indicates that notebook entries should be sorted by last modified date.

Since:

BlackBerry 10.2.0

FirstLetterHeaders = 4

Indicates that notebook entries should be sorted by first letter headers.

(A, B, C, D, E, F, G ...) This is only valid as the first order sort. If passed in as a second or later order sort, it will revert to Title ordering

Since:

BlackBerry 10.2.0

DueDateHeaders = 5

Indicates that notebook entries should be sorted by due date headers.

(Overdue, Today, Tomorrow, This Week, Next Week, Later) This is only valid as the first order sort. If passed in as a second or later order sort, it will revert to DueDate ordering

Since:

BlackBerry 10.2.0

CreationDateHeaders = 6

Indicates that notebook entries should be sorted by creation date headers.

(Today, Yesterday, This Week, Last Week, Earlier) This is only valid as the first order sort. If passed in as a second or later order sort, it will revert to CreationDate ordering

Since:

BlackBerry 10.2.0

LastModifiedDateHeaders = 7

Indicates that notebook entries should be sorted by last modified date headers.

(Today, Yesterday, This Week, Last Week, Earlier) This is only valid as the first order sort. If passed in as a second or later order sort, it will revert to LastModifiedDate ordering

Since:

BlackBerry 10.2.0

Status = 8

Indicates that notebook entries should be sorted by status.

(NotCompleted, Completed, NotActionable)

Since:

BlackBerry 10.2.0

StatusIgnoringJustCompleted = 9

Indicates that notebook entries should be sorted by status with one caveat.

(NotCompleted, Completed, NotActionable) Just completed entries are not considered complete until the next day. This enables a user to see how many and which tasks they accomplished that day.

Since:

BlackBerry 10.3.0

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus