qbprintdialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003                              -------------------
00004     cvs         : $Id: qbprintdialog.h 837 2006-01-23 16:31:01Z aquamaniac $
00005     begin       : Mon Mar 01 2004
00006     copyright   : (C) 2004 by Martin Preuss
00007     email       : martin@libchipcard.de
00008 
00009  ***************************************************************************
00010  *          Please see toplevel file COPYING for license details           *
00011  ***************************************************************************/
00012 
00013 #ifndef QBANKING_PRINTDIALOG_H
00014 #define QBANKING_PRINTDIALOG_H
00015 
00016 #include "qbprintdialog.ui.h"
00017 #include "qbanking.h"
00018 
00019 #include <qstring.h>
00020 
00021 class QPrinter;
00022 
00023 
00024 class QBANKING_API QBPrintDialog : public QBPrintDialogUi {
00025   Q_OBJECT
00026 public:
00027   QBPrintDialog(QBanking *app,
00028                 const char *docTitle,
00029                 const char *docType,
00030                 const char *descr,
00031                 const char *text,
00032                 QWidget* parent=0,
00033                 const char* name=0,
00034                 bool modal=FALSE,
00035                 WFlags fl=0);
00036   ~QBPrintDialog();
00037 
00038   void accept();
00039 
00040 public slots:
00041   void slotPrint();
00042   void slotSetup();
00043   void slotFont();
00044   void slotHelpClicked();
00045 
00046 private:
00047   QBanking *_banking;
00048   const char *_docTitle;
00049   const char *_docType;
00050   const char *_descr;
00051   const char *_text;
00052   QPrinter *_printer;
00053   QString _fontFamily;
00054   int _fontSize;
00055   int _fontWeight;
00056 
00057   void loadPrinterSetup();
00058   void savePrinterSetup();
00059 
00060   void loadGuiSetup();
00061   void saveGuiSetup();
00062 
00063 };
00064 
00065 
00066 
00067 
00068 #endif

Generated on Sun Apr 29 17:23:04 2007 for aqbanking by  doxygen 1.5.1