00001 /*************************************************************************** 00002 currency.h 00003 ------------------- 00004 begin : Fri Jun 1 2007 00005 copyright : (C) 2007 Thomas Baumgart 00006 email : Thomas Baumgart <ipwizard@users.sourceforge.net> 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef CURRENCY_H 00019 #define CURRENCY_H 00020 00021 // ---------------------------------------------------------------------------- 00022 // QT Includes 00023 00024 class KListViewItem; 00025 00026 // ---------------------------------------------------------------------------- 00027 // Project Includes 00028 00029 #include "currencydecl.h" 00030 #include <kmymoney/mymoneysecurity.h> 00031 00035 class Currency : public CurrencyDecl 00036 { 00037 Q_OBJECT 00038 public: 00039 Currency(QWidget* parent = 0, const char* name = 0); 00040 QListViewItem* insertCurrency(const MyMoneySecurity& sec); 00041 void selectCurrency(const MyMoneySecurity& sec); 00042 QString selectedCurrency(void) const; 00043 }; 00044 00045 #endif