#include "bulmafact.h"#include "postgresiface2.h"#include "company.h"Go to the source code of this file.
Data Structures | |
| class | myplugin |
Defines | |
| #define | MY_EXPORT |
Functions | |
| MY_EXPORT void | entryPoint (Bulmafact *) |
Variables | |
| QApplication2 * | theApp |
| #define MY_EXPORT |
Definition at line 24 of file plugindebugbf.h.
| MY_EXPORT void entryPoint | ( | Bulmafact * | bges | ) |
| bges |
Añade en el menú del programa la opcióMn para acceder al corrector.
Definition at line 43 of file comercialbf.cpp.
00043 { 00044 _depura("Punto de Entrada del plugin ComercialBF", 0); 00046 QTranslator *traductor = new QTranslator(0); 00047 if (confpr->valor(CONF_TRADUCCION) == "locales") { 00048 traductor->load(QString("comercialbf_") + QLocale::system().name(), 00049 confpr->valor(CONF_DIR_TRADUCCION).toAscii().constData()); 00050 } else { 00051 QString archivo = "comercialbf_" + confpr->valor(CONF_TRADUCCION); 00052 traductor->load(archivo, confpr->valor(CONF_DIR_TRADUCCION).toAscii().constData()); 00053 } // end if 00054 theApp->installTranslator(traductor); 00055 00056 mypluginbf *plug = new mypluginbf(); 00057 plug->inicializa(bges); 00058 _depura("END Punto de Entrada del plugin ComercialBF", 0); 00059 return 0; 00060 }
1.5.1