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

KIOSlave

  • kioslave
  • http
  • kcookiejar
kcookiewin.h
Go to the documentation of this file.
1/*
2 This file is part of the KDE File Manager
3
4 Copyright (C) 1998- Waldo Bastian (bastian@kde.org)
5 Copyright (C) 2000- Dawit Alemayehu (adawit@kde.org)
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2
10 of the License, or (at your option) any later version.
11
12 This software is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this library; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.
21*/
22//----------------------------------------------------------------------------
23//
24// KDE File Manager -- HTTP Cookie Dialogs
25
26#ifndef KCOOKIEWIN_H
27#define KCOOKIEWIN_H
28
29#include <QtGui/QGroupBox>
30#include <QtGui/QRadioButton>
31#include <kdialog.h>
32#include "kcookiejar.h"
33
34class KLineEdit;
35class QPushButton;
36
37class KCookieDetail : public QGroupBox
38{
39 Q_OBJECT
40
41public:
42 KCookieDetail(KHttpCookieList cookieList, int cookieCount, QWidget *parent=0);
43 ~KCookieDetail();
44
45
46private Q_SLOTS:
47 void slotNextCookie();
48
49private:
50 void displayCookieDetails();
51
52 KLineEdit* m_name;
53 KLineEdit* m_value;
54 KLineEdit* m_expires;
55 KLineEdit* m_domain;
56 KLineEdit* m_path;
57 KLineEdit* m_secure;
58
59 KHttpCookieList m_cookieList;
60 int m_cookieNumber;
61};
62
63class KCookieWin : public KDialog
64{
65 Q_OBJECT
66
67public :
68 KCookieWin( QWidget *parent, KHttpCookieList cookieList, int defaultButton=0,
69 bool showDetails=false );
70 ~KCookieWin();
71
72 KCookieAdvice advice( KCookieJar *cookiejar, const KHttpCookie& cookie );
73
74protected:
75 virtual void slotButtonClicked(int button);
76
77private :
78 QPushButton* m_button;
79 QRadioButton* m_onlyCookies, *m_allCookies, *m_allCookiesDomain;
80 KCookieDetail* m_detailView;
81};
82
83#endif
KCookieDetail
Definition: kcookiewin.h:38
KCookieDetail::~KCookieDetail
~KCookieDetail()
Definition: kcookiewin.cpp:286
KCookieJar
Definition: kcookiejar.h:130
KCookieWin
Definition: kcookiewin.h:64
KCookieWin::advice
KCookieAdvice advice(KCookieJar *cookiejar, const KHttpCookie &cookie)
Definition: kcookiewin.cpp:186
KCookieWin::~KCookieWin
~KCookieWin()
Definition: kcookiewin.cpp:182
KDialog
KDialog::button
KPushButton * button(ButtonCode id) const
KDialog::slotButtonClicked
virtual void slotButtonClicked(int button)
KDialog::defaultButton
ButtonCode defaultButton() const
KHttpCookieList
Definition: kcookiejar.h:114
KHttpCookie
Definition: kcookiejar.h:50
KLineEdit
QGroupBox
QPushButton
QWidget
kcookiejar.h
KCookieAdvice
KCookieAdvice
Definition: kcookiejar.h:41
kdialog.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.

KIOSlave

Skip menu "KIOSlave"
  • Main Page
  • 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