diff options
Diffstat (limited to 'kmymoney2/dialogs/kupdatestockpricedlg.h')
-rw-r--r-- | kmymoney2/dialogs/kupdatestockpricedlg.h | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/kmymoney2/dialogs/kupdatestockpricedlg.h b/kmymoney2/dialogs/kupdatestockpricedlg.h new file mode 100644 index 0000000..c7dd407 --- /dev/null +++ b/kmymoney2/dialogs/kupdatestockpricedlg.h @@ -0,0 +1,77 @@ +/*************************************************************************** + kupdatestockpricedlg.h - description + ------------------- + begin : Thu Feb 7 2002 + copyright : (C) 2000-2002 by Michael Edwardes + email : [email protected] + Javier Campos Morales <[email protected]> + Felix Rodriguez <[email protected]> + John C <[email protected]> + Thomas Baumgart <[email protected]> + Kevin Tambascio <[email protected]> + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + + +#ifndef KUPDATESTOCKPRICEDLG_H +#define KUPDATESTOCKPRICEDLG_H + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +// ---------------------------------------------------------------------------- +// QT Includes + +#include <qdatetime.h> + +// ---------------------------------------------------------------------------- +// KDE Includes + +#include <kdialogbase.h> +#include <klocale.h> +#include <kpushbutton.h> + +// ---------------------------------------------------------------------------- +// Project Includes + +#include "../dialogs/kupdatestockpricedlgdecl.h" + +#include <kmymoney/mymoneyprice.h> +#include <kmymoney/kmymoneydateinput.h> +#include <kmymoney/kmymoneyedit.h> + +/** + * @author Kevin Tambascio + */ +class KUpdateStockPriceDlg : public kUpdateStockPriceDecl +{ + Q_OBJECT + +public: + KUpdateStockPriceDlg(QWidget* parent = NULL, const char* name = NULL); + ~KUpdateStockPriceDlg(); + + const QDate date() const { return m_date->date(); }; + const MyMoneyMoney price(void) const; + +public slots: + int exec(void); + +protected slots: + void slotCheckData(void); + +private: + void init(); + +}; + +#endif |