#include "cobroslist.h"#include "bulmafact.h"Go to the source code of this file.
Defines | |
| #define | MY_EXPORT |
Functions | |
| MY_EXPORT int | CobrosList_CobrosList (CobrosList *) |
| MY_EXPORT int | entryPoint (Bulmafact *) |
| #define MY_EXPORT |
Definition at line 24 of file pluginq19.h.
| MY_EXPORT int CobrosList_CobrosList | ( | CobrosList * | l | ) |
| l |
Definition at line 113 of file pluginimpresionesmultiples.cpp.
References _depura(), and Ui_CobrosListBase::mui_plugbotones.
00113 { 00114 _depura("CobrosList_CobrosList", 0); 00115 00116 SelQToolButton *sel = new SelQToolButton(NULL, NULL, NULL, NULL, l, l->mui_plugbotones); 00117 ImpQToolButton *imp = new ImpQToolButton(NULL, NULL, NULL, NULL, l, l->mui_plugbotones); 00118 // EmailQToolButton *email = new EmailQToolButton(NULL, NULL, NULL, NULL, l, l->mui_plugbotones); 00119 00120 QHBoxLayout *m_hboxLayout1 = l->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1"); 00121 if (!m_hboxLayout1) { 00122 m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones); 00123 m_hboxLayout1->setSpacing(5); 00124 m_hboxLayout1->setMargin(5); 00125 m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); 00126 } // end if 00127 m_hboxLayout1->addWidget(sel); 00128 m_hboxLayout1->addWidget(imp); 00129 // m_hboxLayout1->addWidget(email); 00130 00131 _depura("END CobrosList_CobrosList", 0); 00132 return 0; 00133 }
| MY_EXPORT int 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