• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

qbjoblist.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003                              -------------------
00004     cvs         : $Id$
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_JOBLIST_H
00014 #define QBANKING_JOBLIST_H
00015 
00016 
00017 #include <Qt3Support/q3listview.h>
00018 #include <aqbanking/job.h>
00019 
00020 #include <q4banking/qbanking.h>
00021 
00022 #include <list>
00023 
00024 
00025 class QBJobListView;
00026 class QBJobListViewItem;
00027 
00028 
00029 class Q4BANKING_API QBJobListViewItem: public Q3ListViewItem {
00030 private:
00031   AB_JOB *_job;
00032 
00033   void _populate();
00034 
00035 public:
00036   QBJobListViewItem(QBJobListView *parent, AB_JOB *j);
00037   QBJobListViewItem(QBJobListView *parent,
00038                     Q3ListViewItem *after,
00039                     AB_JOB *j);
00040   QBJobListViewItem(const QBJobListViewItem &item);
00041 
00042   virtual ~QBJobListViewItem();
00043 
00044   AB_JOB *getJob();
00045 };
00046 
00047 
00048 
00049 class Q4BANKING_API QBJobListView: public Q3ListView {
00050 private:
00051 public:
00052   QBJobListView(QWidget *parent=0, const char *name=0);
00053   virtual ~QBJobListView();
00054 
00055   void addJob(AB_JOB *j);
00056   void addJobs(const std::list<AB_JOB*> &js);
00057 
00058   AB_JOB *getCurrentJob();
00059   std::list<AB_JOB*> getSelectedJobs();
00060 
00061 };
00062 
00063 
00064 
00065 
00066 #endif /* QBANKING_JOBLIST_H */
00067 
00068 
00069 

Generated on Tue Aug 3 2010 17:34:15 for aqbanking by  doxygen 1.7.1