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

KHTML

  • sources
  • kde-4.12
  • kdelibs
  • khtml
  • ui
  • passwordbar
storepassbar.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  *
3  * Copyright (C) 2009 Eduardo Robles Elvira <edulix at gmail dot com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public License
16  * along with this library; see the file COPYING.LIB. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20 #ifndef __storepassbar_h__
21 #define __storepassbar_h__
22 
23 #include "khtmlviewbarwidget.h"
24 #include "ui_storepassbar_base.h"
25 
26 #include <QObject>
27 #include <QMap>
28 
29 class KHTMLPart;
30 
31 class StorePassBar : public KHTMLViewBarWidget, private Ui::StorePassBarBase
32 {
33  Q_OBJECT
34 public:
35  StorePassBar( QWidget *parent = 0 );
36 
37  void setHost(const QString& host);
38 
39 signals:
40  void storeClicked();
41  void neverForThisSiteClicked();
42  void doNotStoreClicked();
43 };
44 
45 class StorePass : public QObject
46 {
47  Q_OBJECT
48 public:
49  StorePass( KHTMLPart *part );
50  ~StorePass();
51 
52  void saveLoginInformation(const QString& host, const QString& key,
53  const QMap<QString, QString>& walletMap);
54  void removeBar();
55 
56 private slots:
57  void slotStoreClicked();
58  void slotNeverForThisSiteClicked();
59  void slotDoNotStoreClicked();
60 
61 private:
62  KHTMLPart *m_part;
63 
64  StorePassBar m_storePassBar;
65  QString m_host;
66  QString m_key;
67  QMap<QString, QString> m_walletMap;
68 };
69 #endif
StorePassBar::setHost
void setHost(const QString &host)
Definition: storepassbar.cpp:56
StorePassBar::doNotStoreClicked
void doNotStoreClicked()
KHTMLViewBarWidget
Definition: khtmlviewbarwidget.h:25
QWidget
KHTMLPart
This class is khtml's main class.
Definition: khtml_part.h:206
StorePassBar::neverForThisSiteClicked
void neverForThisSiteClicked()
StorePass
Definition: storepassbar.h:45
QString
QObject
StorePass::~StorePass
~StorePass()
Definition: storepassbar.cpp:76
StorePassBar::StorePassBar
StorePassBar(QWidget *parent=0)
Definition: storepassbar.cpp:29
khtmlviewbarwidget.h
StorePassBar
Definition: storepassbar.h:31
StorePass::StorePass
StorePass(KHTMLPart *part)
Definition: storepassbar.cpp:66
StorePass::saveLoginInformation
void saveLoginInformation(const QString &host, const QString &key, const QMap< QString, QString > &walletMap)
Definition: storepassbar.cpp:80
StorePass::removeBar
void removeBar()
Definition: storepassbar.cpp:96
StorePassBar::storeClicked
void storeClicked()
QMap< QString, QString >
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

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