1 /***************************************************************************
2     begin       : Mon Mar 01 2004
3     copyright   : (C) 2004 by Martin Preuss
4     email       : martin@libchipcard.de
5 
6  ***************************************************************************
7  *                                                                         *
8  *   This program is free software; you can redistribute it and/or modify  *
9  *   it under the terms of the GNU General Public License as published by  *
10  *   the Free Software Foundation; either version 2 of the License, or     *
11  *   (at your option) any later version.                                   *
12  *                                                                         *
13  ***************************************************************************/
14 
15 #ifndef KBMAPACCOUNT_H
16 #define KBMAPACCOUNT_H
17 
18 #include <QDialog>
19 
20 #include <aqbanking/types/account_spec.h>
21 
22 class KBankingExt;
23 
24 class KBMapAccount: public QDialog
25 {
26   Q_OBJECT
27 public:
28   KBMapAccount(KBankingExt *kb,
29                const char *bankCode,
30                const char *accountId,
31                QWidget* parent = 0,
32                Qt::WindowFlags fl = 0);
33   ~KBMapAccount();
34 
35   AB_ACCOUNT_SPEC *getAccount();
36 
37   void accept() final override;
38 
39 protected Q_SLOTS:
40   void slotSelectionChanged();
41   void slotHelpClicked();
42 
43 private:
44   /// \internal d-pointer class.
45   struct Private;
46   /// \internal d-pointer instance.
47   Private* const d;
48   /*
49     KMyMoneyBanking *_banking;
50     AB_ACCOUNT *_account;
51     KBAccountListView *_accountList;
52   */
53 };
54 
55 
56 
57 
58 
59 #endif /* QBANKING_MAPACCOUNT_H */
60 
61