AnalyticsStats

Since: BlackBerry 10.0.0

#include <bb/pim/calendar/AnalyticsStats>

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

The AnalyticsStats class provides statistics for analytics results.

The data in this class augments the results of the analytics queries in the CalendarService class. These queries include CalendarService::commonAttendees() and CalendarService::commonLocations().

See also:

CalendarService


Overview

Public Functions Index

AnalyticsStats ()
AnalyticsStats (const AnalyticsStats &other)
~AnalyticsStats ()
intcount () const
boolisValid () const
QDateTimelastMet () const
AnalyticsStats &operator= (const AnalyticsStats &other)
voidsetCount (int count)
voidsetLastMet (const QDateTime &lastMet)

Public Functions

AnalyticsStats ()

Constructs a new AnalyticsStats.

Since:

BlackBerry 10.0.0

AnalyticsStats (

Copy constructor.

This function constructs an AnalyticsStats containing exactly the same values as the provided AnalyticsStats.

Parameters
other

The AnalyticsStats to be copied.

Since:

BlackBerry 10.0.0

~AnalyticsStats ()

Destructor.

Since:

BlackBerry 10.0.0

int count ()

Retrieves the number of visits or meetings for this AnalyticsStats.

This function returns the number of times the user visited a location or met an attendee.

Return:

The number of visits or meetings for this AnalyticsStats.

Since:

BlackBerry 10.0.0

bool isValid ()

Indicates whether this AnalyticsStats is valid.

This function determines whether the attributes of this AnalyticsStats object have acceptable values.

Return:

true if this AnalyticsStats is valid, false otherwise.

Since:

BlackBerry 10.0.0

QDateTime lastMet ()

Retrieves the last-met date for this AnalyticsStats.

This function returns the date when the user last visited a location or met an attendee.

Return:

The last-met date for this AnalyticsStats.

Since:

BlackBerry 10.0.0

AnalyticsStats & operator= (

Assignment operator.

This operator copies all values from the provided AnalyticsStats into this AnalyticsStats.

Parameters
other

The AnalyticsStats from which to copy all values.

Return:

A reference to this AnalyticsStats.

Since:

BlackBerry 10.0.0

void setCount (
  • intcount)

Sets the number of visits or meetings for this AnalyticsStats.

Parameters
count

The new number of visits or meetings.

Since:

BlackBerry 10.0.0

void setLastMet (

Sets the last-met date for this AnalyticsStats.

Parameters
lastMet

The new last-met date.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus