kbplugindescrlist.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003                              -------------------
00004     cvs         : $Id: kbplugindescrlist.h 438 2005-08-08 15:25:59Z 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 AQBANKING_KDE_PLUGINDESCRLIST_H
00014 #define AQBANKING_KDE_PLUGINDESCRLIST_H
00015 
00016 
00017 #include <klistview.h>
00018 #include <gwenhywfar/plugindescr.h>
00019 
00020 #include <list>
00021 
00022 class KBPluginDescrListView;
00023 class KBPluginDescrListViewItem;
00024 
00025 
00026 class KBPluginDescrListViewItem: public KListViewItem {
00027 private:
00028   GWEN_PLUGIN_DESCRIPTION *_descr;
00029 
00030   void _populate();
00031 
00032 public:
00033   KBPluginDescrListViewItem(KBPluginDescrListView *parent,
00034                             GWEN_PLUGIN_DESCRIPTION *pd);
00035   KBPluginDescrListViewItem(KBPluginDescrListView *parent,
00036                             KListViewItem *after,
00037                             GWEN_PLUGIN_DESCRIPTION *pd);
00038   KBPluginDescrListViewItem(const KBPluginDescrListViewItem &item);
00039 
00040   virtual ~KBPluginDescrListViewItem();
00041 
00042   GWEN_PLUGIN_DESCRIPTION *getPluginDescr();
00043 };
00044 
00045 
00046 
00047 class KBPluginDescrListView: public KListView {
00048 private:
00049 public:
00050   KBPluginDescrListView(QWidget *parent=0, const char *name=0);
00051   virtual ~KBPluginDescrListView();
00052 
00053   void addPluginDescr(GWEN_PLUGIN_DESCRIPTION *pd);
00054   void addPluginDescrs(const std::list<GWEN_PLUGIN_DESCRIPTION*> &pds);
00055 
00056   GWEN_PLUGIN_DESCRIPTION *getCurrentPluginDescr();
00057   std::list<GWEN_PLUGIN_DESCRIPTION*> getSelectedPluginDescrs();
00058 };
00059 
00060 
00061 
00062 
00063 #endif /* AQBANKING_KDE_PLUGINDESCRLIST_H */
00064 
00065 
00066 

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