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

kwallet

  • sources
  • kde-4.14
  • kdeutils
  • kwalletmanager
  • src
  • manager
kwalletmanager.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2003,2004 George Staikos <staikos@kde.org>
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 KWALLETMANAGER_H
21 #define KWALLETMANAGER_H
22 #include <QtCore/QObject>
23 #include <kxmlguiwindow.h>
24 #include <QIcon>
25 
26 class KWalletManagerWidget;
27 class KStatusNotifierItem;
28 class QListWidgetItem;
29 class OrgKdeKWalletInterface;
30 
31 class KWalletManager : public KXmlGuiWindow {
32  Q_OBJECT
33 
34  Q_CLASSINFO("D-Bus Interface", "org.kde.kwallet.kwalletmanager")
35 
36  public:
37  explicit KWalletManager(QWidget *parent = 0, const char* name = 0, Qt::WFlags f = 0);
38  virtual ~KWalletManager();
39 
40  void kwalletdLaunch();
41 
42  public slots:
43  void createWallet();
44  void deleteWallet();
45  void closeWallet(const QString& walletName);
46  void changeWalletPassword(const QString& walletName);
47  void openWallet(const QString& walletName);
48  void openWalletFile(const QString& path);
49 // void openWallet(QListWidgetItem *item);
50  void contextMenu(const QPoint& pos);
51  void walletCreated(const QString& walletName);
52 
53  protected:
54  virtual bool queryClose();
55 
56  private:
57  public Q_SLOTS: //dbus
58  Q_SCRIPTABLE void allWalletsClosed();
59  Q_SCRIPTABLE void updateWalletDisplay();
60  Q_SCRIPTABLE void aWalletWasOpened();
61 
62  private slots:
63  void shuttingDown();
64  void possiblyQuit();
65  void editorClosed(KXmlGuiWindow* e);
66  void possiblyRescan(const QString& app, const QString&, const QString&);
67  void setupWallet();
68  void openWallet();
69  void closeAllWallets();
70 
71  private:
72  KStatusNotifierItem *_tray;
73  bool _shuttingDown;
74  KWalletManagerWidget *_managerWidget;
75  OrgKdeKWalletInterface *m_kwalletdModule;
76  QList<KXmlGuiWindow*> _windows;
77  bool _kwalletdLaunch;
78 };
79 
80 #endif
KWalletManager::walletCreated
void walletCreated(const QString &walletName)
Definition: kwalletmanager.cpp:204
QWidget
QListWidgetItem
KWalletManager::openWallet
void openWallet(const QString &walletName)
Definition: kwalletmanager.cpp:327
QPoint
KWalletManager::deleteWallet
void deleteWallet()
Definition: kwalletmanager.cpp:314
KWalletManager::kwalletdLaunch
void kwalletdLaunch()
Definition: kwalletmanager.cpp:171
KXmlGuiWindow
KWalletManager::updateWalletDisplay
Q_SCRIPTABLE void updateWalletDisplay()
Definition: kwalletmanager.cpp:200
KWalletManager::openWalletFile
void openWalletFile(const QString &path)
Definition: kwalletmanager.cpp:234
KWalletManager::queryClose
virtual bool queryClose()
Definition: kwalletmanager.cpp:176
QString
QList< KXmlGuiWindow * >
Qt::WFlags
typedef WFlags
KWalletManager::KWalletManager
KWalletManager(QWidget *parent=0, const char *name=0, Qt::WFlags f=0)
Definition: kwalletmanager.cpp:52
KWalletManager::changeWalletPassword
void changeWalletPassword(const QString &walletName)
Definition: kwalletmanager.cpp:228
KWalletManager::~KWalletManager
virtual ~KWalletManager()
Definition: kwalletmanager.cpp:164
KWalletManager
Definition: kwalletmanager.h:31
KWalletManager::allWalletsClosed
Q_SCRIPTABLE void allWalletsClosed()
Definition: kwalletmanager.cpp:240
KWalletManager::closeWallet
void closeWallet(const QString &walletName)
Definition: kwalletmanager.cpp:213
KWalletManagerWidget
Definition: kwalletmanagerwidget.h:29
KWalletManager::aWalletWasOpened
Q_SCRIPTABLE void aWalletWasOpened()
Definition: kwalletmanager.cpp:189
KWalletManager::contextMenu
void contextMenu(const QPoint &pos)
Definition: kwalletmanager.cpp:209
KWalletManager::createWallet
void createWallet()
Definition: kwalletmanager.cpp:275
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:01 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
  • 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