• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kgpg

  • sources
  • kde-4.14
  • kdeutils
  • kgpg
groupedit.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002 Jean-Baptiste Mardelle <bj@altern.org>
3  * Copyright (C) 2007,2008,2013 Rolf Eike Beer <kde@opensource.sf-tec.de>
4  */
5 
6 /***************************************************************************
7  * *
8  * This program is free software; you can redistribute it and/or modify *
9  * it under the terms of the GNU General Public License as published by *
10  * the Free Software Foundation; either version 2 of the License, or *
11  * (at your option) any later version. *
12  * *
13  ***************************************************************************/
14 
15 #ifndef GROUPEDIT_H
16 #define GROUPEDIT_H
17 
18 #include <QList>
19 #include "ui_groupedit.h"
20 
21 class GroupEditProxyModel;
22 class KGpgNode;
23 class KGpgItemModel;
24 class QSortFilterProxyModel;
25 
29 class groupEdit : public QWidget, public Ui::groupEdit
30 {
31  Q_OBJECT
32 
33 private:
34  GroupEditProxyModel *m_in;
35  GroupEditProxyModel *m_out;
36  QSortFilterProxyModel * const m_outFilter;
37 
38 public:
39  QList<KGpgNode *> * const members;
40 
47  explicit groupEdit(QWidget *parent, QList<KGpgNode *> *ids, KGpgItemModel *md);
51  ~groupEdit();
52 
53 private Q_SLOTS:
57  void groupAdd();
61  void groupRemove();
65  void groupAdd(const QModelIndex &index);
69  void groupRemove(const QModelIndex &index);
70 };
71 
72 #endif
KGpgItemModel
Definition: kgpgitemmodel.h:44
QModelIndex
QWidget
groupEdit::members
QList< KGpgNode * > *const members
the list of keys that are members of the group
Definition: groupedit.h:39
groupEdit::groupEdit
groupEdit(QWidget *parent, QList< KGpgNode * > *ids, KGpgItemModel *md)
constructor
Definition: groupedit.cpp:27
groupEdit::~groupEdit
~groupEdit()
destructor
Definition: groupedit.cpp:79
QList< KGpgNode * >
KGpgNode
The abstract base class for all classes representing keyring data.
Definition: KGpgNode.h:42
QSortFilterProxyModel
groupEdit
shows a widget that let's you change the keys that are part of a key group
Definition: groupedit.h:29
QObject::parent
QObject * parent() const
GroupEditProxyModel
Definition: groupeditproxymodel.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgpg

Skip menu "kgpg"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal