The license checker handles license token checking for typical applications. More...
#include <bpslicensechecker.h>
Public Member Functions | |
| BpsLicenseChecker (BpsLicenseToken *aLicenseToken, QWidget *aParent) | |
| void | start () |
| Check expiration of the token and start periodic token validity checking. | |
| void | stop () |
| Stop periodic token validity checking. | |
The license checker handles license token checking for typical applications.
Upon start it checks once if the license will expire within the next 30 days and in case displays a message which can be confirmed by the user to continue work.
Every 60 seconds it then checks if the license token gets invalid and in case displays a critical message. After the token invalidation message is confirmed, the application is closed.
| BpsLicenseChecker::BpsLicenseChecker | ( | BpsLicenseToken * | aLicenseToken, |
| QWidget * | aParent | ||
| ) |
| [in] | aLicenseToken | The license token to check. |
| [in] | aParent | The parent widget to display messages on, and to close in case the token gets invalid. |