Eneboo - Documentación para desarrolladores
|
00001 /*************************************************************************** 00002 FLJasperViewer.h 00003 ------------------- 00004 begin : 08/06/2010 00005 copyright : (C) 2003-2010 by InfoSiAL S.L. 00006 email : mail@infosial.com 00007 ***************************************************************************/ 00008 /*************************************************************************** 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; version 2 of the License. * 00012 ***************************************************************************/ 00013 /*************************************************************************** 00014 Este programa es software libre. Puede redistribuirlo y/o modificarlo 00015 bajo los términos de la Licencia Pública General de GNU en su 00016 versión 2, publicada por la Free Software Foundation. 00017 ***************************************************************************/ 00018 00019 #ifndef FLJASPERVIEWER_H 00020 #define FLJASPERVIEWER_H 00021 00022 #include <qobject.h> 00023 #include <qstring.h> 00024 #include <qdom.h> 00025 00026 class FLSqlQuery; 00027 class FLSqlQueryInterface; 00028 class FLDomNodeInterface; 00029 class FLJasperViewerPrivate; 00030 00039 class FLJasperViewer : public QObject 00040 { 00041 Q_OBJECT 00042 00043 public: 00044 00045 FLJasperViewer(QObject *parent = 0, const char *name = 0); 00046 ~FLJasperViewer(); 00047 00048 public slots: 00049 00056 bool setReportData(FLSqlQuery *q); 00057 bool setReportData(FLSqlQueryInterface *q); 00058 00065 bool setReportData(QDomNode n); 00066 bool setReportData(FLDomNodeInterface *n); 00067 00076 bool setReportTemplate(const QString &t); 00077 00081 bool exec(); 00082 00083 private: 00084 00085 FLJasperViewerPrivate *d; 00086 }; 00087 00088 #endif // FLJASPERVIEWER_H