AnalyticsStats
#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().
BlackBerry 10.0.0
Public Functions Index
| AnalyticsStats () | |
| ~AnalyticsStats () | |
| AnalyticsStats (const AnalyticsStats &other) | |
| AnalyticsStats & | operator= (const AnalyticsStats &other) |
| QDateTime | lastMet () const |
| int | count () const |
| void | setLastMet (const QDateTime &lastMet) |
| void | setCount (int count) |
| bool | isValid () const |
Public Functions
Destructor.
BlackBerry 10.0.0
Copy constructor.
This function constructs an AnalyticsStats containing exactly the same values as the provided AnalyticsStats.
| Parameters | |
|---|---|
| other |
The AnalyticsStats to be copied. |
BlackBerry 10.0.0
AnalyticsStats &
Assignment operator.
This operator copies all values from the provided AnalyticsStats into this AnalyticsStats.
| Parameters | |
|---|---|
| other |
The AnalyticsStats from which to copy all values. |
A reference to this AnalyticsStats.
BlackBerry 10.0.0
QDateTime
Retrieves the last-met date for this AnalyticsStats.
This function returns the date when the user last visited a location or met an attendee.
The last-met date for this AnalyticsStats.
BlackBerry 10.0.0
int
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.
The number of visits or meetings for this AnalyticsStats.
BlackBerry 10.0.0
void
Sets the last-met date for this AnalyticsStats.
| Parameters | |
|---|---|
| lastMet |
The new last-met date. |
BlackBerry 10.0.0
void
Sets the number of visits or meetings for this AnalyticsStats.
| Parameters | |
|---|---|
| count |
The new number of visits or meetings. |
BlackBerry 10.0.0
bool
Indicates whether this AnalyticsStats is valid.
This function determines whether the attributes of this AnalyticsStats object have acceptable values.
true if this AnalyticsStats is valid, false otherwise.
BlackBerry 10.0.0