00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Tomeu Borras Riera * 00003 * tborras@conetxia.com * 00004 * Copyright (C) 2003 by Antoni Mirabete i Teres * 00005 * amirabet@biada.org * 00006 * http://www.iglues.org Asociacion Iglues -- Contabilidad Linux * 00007 * * 00008 * This program is free software; you can redistribute it and/or modify * 00009 * it under the terms of the GNU General Public License as published by * 00010 * the Free Software Foundation; either version 2 of the License, or * 00011 * (at your option) any later version. * 00012 * * 00013 * This program is distributed in the hope that it will be useful, * 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00016 * GNU General Public License for more details. * 00017 * * 00018 * You should have received a copy of the GNU General Public License * 00019 * along with this program; if not, write to the * 00020 * Free Software Foundation, Inc., * 00021 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00022 ***************************************************************************/ 00023 00024 #ifndef DIARIOPRINTVIEW_H 00025 #define DIARIOPRINTVIEW_H 00026 00027 #include <errno.h> 00028 00029 #include <QWidget> 00030 #include <QToolButton> 00031 #include <QRadioButton> 00032 00033 #include "ui_diarioprintbase.h" 00034 #include "blwidget.h" 00035 00037 #include "empresa.h" 00038 00039 00042 00043 class DiarioPrintView : public QDialog, public Ui_DiarioPrintBase, PEmpresaBase { 00044 Q_OBJECT 00045 00046 public: 00047 int numdigitos; 00049 00050 public: 00054 DiarioPrintView(Empresa *emp, QWidget *parent); 00055 ~DiarioPrintView(); 00056 void presentar(char *tipus = "html"); 00057 00058 private: 00059 QString montaQuery(); 00060 00061 public slots: 00062 virtual void accept(); 00063 }; 00064 00065 #endif 00066
1.5.1