qbselectfromlist.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile: qbselectfromlist.h,v $
00003                              -------------------
00004     cvs         : $Id: qbselectfromlist.h,v 1.5 2006/01/20 14:52:36 aquamaniac Exp $
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_SELECTFROMLIST_H
00014 #define QBANKING_SELECTFROMLIST_H
00015 
00016 class QBanking;
00017 
00018 
00019 #include <qstringlist.h>
00020 
00021 #include <qbanking/qbselectfromlist.ui.h>
00022 #include <qbanking/qbanking.h>
00023 
00024 
00025 
00026 
00027 class QBANKING_API QBSelectFromList : public QBSelectFromListUi {
00028   Q_OBJECT
00029 public:
00030   QBSelectFromList(QBanking *kb,
00031                    const QString &title,
00032                    const QString &message,
00033                    const QString &listTypeName,
00034                    int minSelection,
00035                    int maxSelection,
00036                    QWidget* parent=0,
00037                    const char* name=0,
00038                    bool modal=FALSE,
00039                    WFlags fl=0);
00040   ~QBSelectFromList();
00041 
00042   void init();
00043   void fini();
00044 
00045   void addEntry(const QString &name, const QString &descr);
00046 
00047   void selectEntry(const QString &s);
00048   QStringList selectedEntries();
00049 
00050 public slots:
00051   void slotSelectionChanged();
00052 
00053 private:
00054   QBanking *_app;
00055   int _minSelection;
00056   int _maxSelection;
00057 };
00058 
00059 
00060 
00061 
00062 
00063 #endif

Generated on Tue Apr 10 19:04:09 2007 for aqbanking by  doxygen 1.4.7