summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/ksecuritylisteditor.h
blob: 050edbe384c604b1eaaa7092657832b67ea2298b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/***************************************************************************
                          ksecuritylisteditor.h  -  description
                             -------------------
    begin                : Wed Dec 16 2004
    copyright            : (C) 2004 by Thomas Baumgart
    email                : ipwizard@users.sourceforge.net
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 KSECURITYLISTEDITOR_H
#define KSECURITYLISTEDITOR_H

// ----------------------------------------------------------------------------
// QT Includes

class QListViewItem;

// ----------------------------------------------------------------------------
// KDE Includes

// ----------------------------------------------------------------------------
// Project Includes

#include "ksecuritylisteditordecl.h"

#include "../mymoney/mymoneysecurity.h"

/**
  * @author Thomas Baumgart
  */

class KSecurityListEditor : public KSecurityListEditorDecl
{
  Q_OBJECT
public:
  KSecurityListEditor(QWidget *parent, const char* name = 0);
  ~KSecurityListEditor();

protected slots:
  void slotLoadList(void);
  void slotUpdateButtons(void);
  void slotEditSecurity(void);
  void slotDeleteSecurity(void);

protected:
  void fillItem(QListViewItem* item, const MyMoneySecurity& security);

};

#endif