keditequityentrydlg.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           keditequityentrydlg.h  -  description
00003                              -------------------
00004     begin                : Sat Mar 6 2004
00005     copyright            : (C) 2000-2004 by Michael Edwardes
00006     email                : mte@users.sourceforge.net
00007                            Javier Campos Morales <javi_c@users.sourceforge.net>
00008                            Felix Rodriguez <frodriguez@users.sourceforge.net>
00009                            John C <thetacoturtle@users.sourceforge.net>
00010                            Thomas Baumgart <ipwizard@users.sourceforge.net>
00011                            Kevin Tambascio <ktambascio@users.sourceforge.net>
00012  ***************************************************************************/
00013 
00014 /***************************************************************************
00015  *                                                                         *
00016  *   This program is free software; you can redistribute it and/or modify  *
00017  *   it under the terms of the GNU General Public License as published by  *
00018  *   the Free Software Foundation; either version 2 of the License, or     *
00019  *   (at your option) any later version.                                   *
00020  *                                                                         *
00021  ***************************************************************************/
00022 
00023 #ifndef KEDITEQUITYENTRYDLG_H
00024 #define KEDITEQUITYENTRYDLG_H
00025 
00026 
00027 // ----------------------------------------------------------------------------
00028 // QT Includes
00029 #include <qdialog.h>
00030 
00031 // ----------------------------------------------------------------------------
00032 // KDE Includes
00033 #include <klistview.h>
00034 #include <klocale.h>
00035 #include <klineedit.h>
00036 
00037 // ----------------------------------------------------------------------------
00038 // Project Includes
00039 
00040 #include "../dialogs/keditequityentrydecl.h"
00041 #include "../mymoney/mymoneysecurity.h"
00042 
00047 class KEditEquityEntryDlg : public KEditEquityEntryDecl
00048 {
00049   Q_OBJECT
00050 public:
00051   KEditEquityEntryDlg(const MyMoneySecurity& selectedSecurity, QWidget *parent = NULL, const char *name = NULL);
00052   ~KEditEquityEntryDlg();
00053 
00054   void updatedEquity(MyMoneySecurity& security) { security = m_selectedSecurity; }
00055 
00056 protected slots:
00057   void slotOKClicked();
00058   void slotDataChanged(void);
00059   void slotSelectionChanged(QListViewItem* item);
00060 
00061 private slots:
00062   void slotTimerDone(void);
00063 
00064 private:
00065   MyMoneySecurity m_selectedSecurity;
00066   bool m_changes;
00067 };
00068 
00069 #endif

Generated on Wed Jan 26 13:03:17 2011 for KMyMoney by  doxygen 1.5.6