Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
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