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

KHTML

  • 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
29class KHTMLPart;
30
31class StorePassBar : public KHTMLViewBarWidget, private Ui::StorePassBarBase
32{
33 Q_OBJECT
34public:
35 StorePassBar( QWidget *parent = 0 );
36
37 void setHost(const QString& host);
38
39signals:
40 void storeClicked();
41 void neverForThisSiteClicked();
42 void doNotStoreClicked();
43};
44
45class StorePass : public QObject
46{
47 Q_OBJECT
48public:
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
56private slots:
57 void slotStoreClicked();
58 void slotNeverForThisSiteClicked();
59 void slotDoNotStoreClicked();
60
61private:
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
KHTMLPart
This class is khtml's main class.
Definition: khtml_part.h:207
KHTMLViewBarWidget
Definition: khtmlviewbarwidget.h:26
QMap
QObject
QWidget
StorePassBar
Definition: storepassbar.h:32
StorePassBar::storeClicked
void storeClicked()
StorePassBar::neverForThisSiteClicked
void neverForThisSiteClicked()
StorePassBar::doNotStoreClicked
void doNotStoreClicked()
StorePassBar::setHost
void setHost(const QString &host)
Definition: storepassbar.cpp:56
StorePass
Definition: storepassbar.h:46
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
StorePass::~StorePass
~StorePass()
Definition: storepassbar.cpp:76
khtmlviewbarwidget.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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