Revision

Since: BlackBerry 10.2.0

#include <bb/cascades/datamanager/Revision>

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

Interface for objects that can be compared, in order to determine whether the associated data has changed.


Overview

Inheritance

bb::cascades::datamanager::Revision
bb::cascades::datamanager::NumericRevision

Public Functions Index

Revision ()
virtual ~Revision ()
boolequals (const Revision &other) const =0
boolgreaterThan (const Revision &other) const =0
Revision *newRevision (const Revision &other) const =0
QStringtoString () const =0

Public Functions

Revision ()

Constructor.

Since:

BlackBerry 10.2.0

virtual~Revision ()

Destructor.

Since:

BlackBerry 10.2.0

bool equals (

Check for equality.

Parameters
other

the revision to compare against.

Return:

true if the revisions are equal, else false.

Since:

BlackBerry 10.2.0

bool greaterThan (

Check whether this revision is greater (newer) than the other.

Parameters
other

the revision to compare against.

Return:

true if this object is greater (newer) than the given object.

Since:

BlackBerry 10.2.0

Revision * newRevision (

Return a new revision based on this revision and another revision.

The revision that is returned should be greater than or equal to both this revision object, and other.

Parameters
other

Another revision provider.

Return:

A pointer to the newly created Revision object.

Since:

BlackBerry 10.2.0

QString toString ()

String representation of this revision for debugging.

Return:

the string representation.

Since:

BlackBerry 10.2.0

Last modified: 2014-03-13

comments powered by Disqus