00001 /*************************************************************************** 00002 ksecuritylisteditor.h - description 00003 ------------------- 00004 begin : Wed Dec 16 2004 00005 copyright : (C) 2004 by Thomas Baumgart 00006 email : 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 KSECURITYLISTEDITOR_H 00019 #define KSECURITYLISTEDITOR_H 00020 00021 // ---------------------------------------------------------------------------- 00022 // QT Includes 00023 00024 class QListViewItem; 00025 00026 // ---------------------------------------------------------------------------- 00027 // KDE Includes 00028 00029 // ---------------------------------------------------------------------------- 00030 // Project Includes 00031 00032 #include "ksecuritylisteditordecl.h" 00033 00034 #include "../mymoney/mymoneysecurity.h" 00035 00040 class KSecurityListEditor : public KSecurityListEditorDecl 00041 { 00042 Q_OBJECT 00043 public: 00044 KSecurityListEditor(QWidget *parent, const char* name = 0); 00045 ~KSecurityListEditor(); 00046 00047 protected slots: 00048 void slotLoadList(void); 00049 void slotUpdateButtons(void); 00050 void slotEditSecurity(void); 00051 void slotDeleteSecurity(void); 00052 00053 protected: 00054 void fillItem(QListViewItem* item, const MyMoneySecurity& security); 00055 00056 }; 00057 00058 #endif