00001 /*************************************************************************** 00002 knewbankdlg.h 00003 ------------------- 00004 copyright : (C) 2000 by Michael Edwardes 00005 email : mte@users.sourceforge.net 00006 ***************************************************************************/ 00007 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 00017 #ifndef KNEWBANKDLG_H 00018 #define KNEWBANKDLG_H 00019 00020 // ---------------------------------------------------------------------------- 00021 // QT Includes 00022 00023 #include <qdialog.h> 00024 00025 // ---------------------------------------------------------------------------- 00026 // KDE Includes 00027 00028 #include <klocale.h> 00029 00030 // ---------------------------------------------------------------------------- 00031 // Project Includes 00032 00033 #include "../mymoney/mymoneyinstitution.h" 00034 #include "../mymoney/mymoneykeyvaluecontainer.h" 00035 00036 #include "../dialogs/knewbankdlgdecl.h" 00037 00039 class KNewBankDlg : public KNewBankDlgDecl 00040 { 00041 Q_OBJECT 00042 00043 public: 00044 KNewBankDlg(MyMoneyInstitution& institution, QWidget *parent = 0, const char *name = 0); 00045 ~KNewBankDlg(); 00046 const MyMoneyInstitution& institution(void); 00047 00048 protected slots: 00049 void okClicked(); 00050 void institutionNameChanged( const QString &); 00051 00052 private: 00053 MyMoneyInstitution m_institution; 00054 00055 }; 00056 00057 #endif