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

kwallet

  • sources
  • kde-4.12
  • kdeutils
  • kwalletmanager
  • src
  • manager
authorizedappmodel.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2013 Valentin Rusu <kde@rusu.info>
3 
4  This program is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; see the file COPYING. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef AUTHORIZEDAPPMODEL_H
21 #define AUTHORIZEDAPPMODEL_H
22 
23 #include <QStandardItemModel>
24 #include <ksharedconfig.h>
25 
26 namespace KWallet {
27 class Wallet;
28 }
29 
30 class AuthorizedAppModel : public QStandardItemModel
31 {
32  Q_OBJECT
33 public:
34  explicit AuthorizedAppModel(KWallet::Wallet *wallet);
35 
36 public Q_SLOTS:
37  void removeApp(QString);
38 
39 private Q_SLOTS:
40  void saveConfig();
41 
42 private:
43  KSharedConfig::Ptr _cfg;
44  KWallet::Wallet *_wallet;
45  QMap<QString, QPersistentModelIndex> _authorizedAppsIndexMap;
46 };
47 
48 #endif // AUTHORIZEDAPPMODEL_H
QStandardItemModel
AuthorizedAppModel::removeApp
void removeApp(QString)
Definition: authorizedappmodel.cpp:52
AuthorizedAppModel::AuthorizedAppModel
AuthorizedAppModel(KWallet::Wallet *wallet)
Definition: authorizedappmodel.cpp:27
AuthorizedAppModel
Definition: authorizedappmodel.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kwallet

Skip menu "kwallet"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • 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