Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

qbselectfromlist.h

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

Generated on Thu Oct 6 14:49:08 2005 for aqbanking by  doxygen 1.4.4