#include <engine.h>
|
QString | cfgname () |
|
QString | Time () |
|
QString | Date () |
|
void | Exit () |
|
void | Message (int n, const QString &msg) |
|
void | StatusMessage (const QString &msg) |
|
void | StatusMessage (const QString &msg, const int &pos) |
|
void | settimer (int sec, QString proc) |
|
aForm * | OpenForm (QString fname, int mode=0, aObject *selecter=0, bool modal=false) |
|
aForm * | OpenForm (QString fname, int mode, int ido, aObject *selecter=0, bool modal=false) |
| Create and open new form.
|
|
QVariant | value (const QString &name) |
|
void | setValue (const QString &name, QVariant value=QVariant::Invalid) |
|
void | on_MenuBar (int id) |
|
void | execAction (aCfgItem &act, QObject *context=0) |
|
aDataField * | enterValue (const QString &FieldType, const QString &title="") |
|
bool | startTransaction () |
|
bool | commitTransaction () |
|
bool | rollbackTransaction () |
|
|
void | statusMessage (const QString &msg) |
|
void | statusMessage (const QString &msg, const int &pos) |
|
void | statusIcon (const int &status) |
|
void | event (const QString &source, const QString &data) |
|
◆ aEngine()
◆ ~aEngine()
◆ cfgname
QString aEngine::cfgname |
( |
| ) |
|
|
slot |
◆ commitTransaction
bool aEngine::commitTransaction |
( |
| ) |
|
|
slot |
Commit transaction
References db.
◆ Date
QString aEngine::Date |
( |
| ) |
|
|
slot |
◆ done()
◆ enterValue
aDataField * aEngine::enterValue |
( |
const QString & | FieldType, |
|
|
const QString & | title = "" ) |
|
slot |
◆ execAction
void aEngine::execAction |
( |
aCfgItem & | act, |
|
|
QObject * | context = 0 ) |
|
slot |
◆ init()
bool aEngine::init |
( |
const QString & | rcfile | ) |
|
|
virtual |
◆ Message
void aEngine::Message |
( |
int | n, |
|
|
const QString & | msg ) |
|
slot |
Outputs messages.
- See also
- cfg_message(int msgtype, const char *msgfmt,...)
◆ on_MenuBar
void aEngine::on_MenuBar |
( |
int | id | ) |
|
|
slot |
◆ on_systemstart()
int aEngine::on_systemstart |
( |
| ) |
|
Called on system start.
References project.
◆ on_systemstop()
int aEngine::on_systemstop |
( |
| ) |
|
Called on system stop.
References project.
◆ openEmbedCatalogueEditor()
void aEngine::openEmbedCatalogueEditor |
( |
int | oid, |
|
|
QWidget * | parent = NULL, |
|
|
const bool | toSelect = true ) |
◆ OpenForm
aForm * aEngine::OpenForm |
( |
QString | formName, |
|
|
int | mode, |
|
|
int | ido, |
|
|
aObject * | selector = 0, |
|
|
bool | modal = false ) |
|
slot |
Create and open new form.
- Parameters
-
formName | - form name |
mode | - form use mode |
selector | - database id of opening object |
modal | - is window modal |
- Returns
- link on new form or 0 if form not created.
References md, openForm(), and aObject::sysValue().
◆ openForm()
aForm * aEngine::openForm |
( |
int | formOwnerId, |
|
|
int | formId = 0, |
|
|
int | defaultfor = 1, |
|
|
int | mode = 0, |
|
|
ANANAS_UID | id = 0, |
|
|
aWidget * | caller = 0, |
|
|
bool | modal = false ) |
Create and open new form.
- Parameters
-
formOwnerId | - form owner md id |
formId | - form md id |
defaultfor | - form use mode |
mode | - not use yet |
id | - database id of opening object |
caller | - caller widget |
modal | - is window modal |
- Returns
- link on new form or 0 if form not created.
References db, md, aForm::New(), aLog::print(), aForm::Select(), aForm::setMode(), aForm::SetReadOnly(), aForm::Show(), wl, and ws.
Referenced by execAction(), and OpenForm().
◆ rollbackTransaction
bool aEngine::rollbackTransaction |
( |
| ) |
|
|
slot |
Discard changes made in transaction
References db.
◆ settimer
void aEngine::settimer |
( |
int | sec, |
|
|
QString | proc ) |
|
slot |
◆ setValue
void aEngine::setValue |
( |
const QString & | name, |
|
|
QVariant | value = QVariant::Invalid ) |
|
slot |
◆ sourcePreprocessor()
QString aEngine::sourcePreprocessor |
( |
const QString & | src | ) |
|
◆ startTransaction
bool aEngine::startTransaction |
( |
| ) |
|
|
slot |
Starts transaction if driver supports
References db.
◆ StatusMessage [1/2]
void aEngine::StatusMessage |
( |
const QString & | msg | ) |
|
|
slot |
◆ StatusMessage [2/2]
void aEngine::StatusMessage |
( |
const QString & | msg, |
|
|
const int & | pos ) |
|
slot |
Outputs status messages in target label.
◆ Time
QString aEngine::Time |
( |
| ) |
|
|
slot |
◆ timerEvent()
void aEngine::timerEvent |
( |
QTimerEvent * | e | ) |
|
◆ value
QVariant aEngine::value |
( |
const QString & | name | ) |
|
|
slot |
◆ code
QSInterpreter* aEngine::code |
◆ db
◆ md
◆ next_obj_id
◆ project
QSProject aEngine::project |
◆ wl
◆ ws
The documentation for this class was generated from the following files: