• 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
walletcontrolwidget.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 #ifndef WALLETCONTROLWIDGET_H
20 #define WALLETCONTROLWIDGET_H
21 
22 #include "ui_walletcontrolwidget.h"
23 
24 class KWalletEditor;
25 class ApplicationsManager;
26 
27 namespace KWallet {
28 class Wallet;
29 }
30 
31 class WalletControlWidget : public QWidget, public Ui::WalletControlWidget
32 {
33  Q_OBJECT
34 public:
35  WalletControlWidget(QWidget* parent, const QString& walletName);
36 
37  bool openWallet();
38 
39 public Q_SLOTS:
40  void onSetupWidget();
41  void onOpenClose();
42  void onWalletClosed();
43  void updateWalletDisplay();
44  void onDisconnectApplication();
45  void onChangePassword();
46 
47 protected:
48  virtual void hideEvent(QHideEvent*);
49  virtual void showEvent(QShowEvent*);
50 
51 private:
52  QString _walletName;
53  KWallet::Wallet* _wallet;
54  KWalletEditor* _walletEditor;
55  ApplicationsManager* _applicationsManager;
56 };
57 
58 #endif // WALLETCONTROLWIDGET_H
QHideEvent
WalletControlWidget::onWalletClosed
void onWalletClosed()
Definition: walletcontrolwidget.cpp:136
QWidget
ApplicationsManager
Definition: applicationsmanager.h:33
WalletControlWidget::showEvent
virtual void showEvent(QShowEvent *)
Definition: walletcontrolwidget.cpp:171
WalletControlWidget::WalletControlWidget
WalletControlWidget(QWidget *parent, const QString &walletName)
Definition: walletcontrolwidget.cpp:35
WalletControlWidget::onChangePassword
void onChangePassword()
Definition: walletcontrolwidget.cpp:162
WalletControlWidget::updateWalletDisplay
void updateWalletDisplay()
Definition: walletcontrolwidget.cpp:142
WalletControlWidget::onDisconnectApplication
void onDisconnectApplication()
Definition: walletcontrolwidget.cpp:153
QShowEvent
WalletControlWidget::onOpenClose
void onOpenClose()
Definition: walletcontrolwidget.cpp:111
WalletControlWidget::onSetupWidget
void onSetupWidget()
Definition: walletcontrolwidget.cpp:61
QString
KWalletEditor
Definition: kwalleteditor.h:42
WalletControlWidget
Definition: walletcontrolwidget.h:31
WalletControlWidget::openWallet
bool openWallet()
Definition: walletcontrolwidget.cpp:48
QObject::parent
QObject * parent() const
WalletControlWidget::hideEvent
virtual void hideEvent(QHideEvent *)
Definition: walletcontrolwidget.cpp:167
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