#include <qlabapplication.h>
QlabApplication class extends the standard Qt QApplication class and adds more features.
If your application calls it instead of QApplication, you start a LAB application with all LAB methods available.
Sample:
#include <qlabapplication.h> #include "labkiosk.h" #include <qdir.h> int main( int argc, char ** argv ) { QString appname = "labkiosk" ; QlabApplication * a = new QlabApplication( appname, argc, argv ); a->i18n() ; LabKiosk w; w.show(); a->connect( a, SIGNAL( lastWindowClosed() ), a, SLOT( quit() ) ); return a->exec(); }
License : See License section.
|
Constructs a new instance of QlabApplication class You have ONE and ONLY One instance of QlabApplication running by application program.
|
|
Creates Database Connections at startup.
|
|
Returns LAB License key. Unused in Free Cashbox Client |
|
Returns LAB Signature. Unused in Free Cashbox Client |
|
Returns the registered application Module ID for module mane. ModuleID has to be registered for this method. Registered modules (applications) can shared data between them, without querying a master server, using a kind of grid system to establish inter application dialogs, even via network.
|
|
Loads Application Internationalization stuff using app appliaction name, locale as lowercase standard locale notation (fr_utf8, fr_fr, fr, ...) and a application hook. All parameters are optional. If so:
|
|
Active application name place holder.
For internal use only. Convenient access via Global appname shortcut |
|
Handles crypted Lab License Key.
For internal use only.
|
|
Handles crypted LAB Signature.
For internal use only.
|
|
Registered moduleID, if exists.
For internal use only.
|