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

KIOSlave

kcookiewin.h

Go to the documentation of this file.
00001 /*
00002     This file is part of the KDE File Manager
00003 
00004     Copyright (C) 1998- Waldo Bastian (bastian@kde.org)
00005     Copyright (C) 2000- Dawit Alemayehu (adawit@kde.org)
00006 
00007     This library is free software; you can redistribute it and/or
00008     modify it under the terms of the GNU General Public License
00009     as published by the Free Software Foundation; either version 2
00010     of the License, or (at your option) any later version.
00011 
00012     This software is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015     General Public License for more details.
00016 
00017     You should have received a copy of the GNU General Public License
00018     along with this library; see the file COPYING. If not, write to
00019     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020     Boston, MA 02110-1301, USA.
00021 */
00022 //----------------------------------------------------------------------------
00023 //
00024 // KDE File Manager -- HTTP Cookie Dialogs
00025 
00026 #ifndef _KCOOKIEWIN_H_
00027 #define _KCOOKIEWIN_H_
00028 
00029 #include <QtGui/QGroupBox>
00030 #include <QtGui/QRadioButton>
00031 #include <kdialog.h>
00032 #include "kcookiejar.h"
00033 
00034 class KLineEdit;
00035 class QPushButton;
00036 
00037 class KCookieDetail : public QGroupBox
00038 {
00039     Q_OBJECT
00040 
00041 public:
00042     KCookieDetail(KHttpCookieList cookieList, int cookieCount, QWidget *parent=0);
00043     ~KCookieDetail();
00044 
00045 
00046 private Q_SLOTS:
00047     void slotNextCookie();
00048 
00049 private:
00050     void displayCookieDetails();
00051 
00052     KLineEdit*   m_name;
00053     KLineEdit*   m_value;
00054     KLineEdit*   m_expires;
00055     KLineEdit*   m_domain;
00056     KLineEdit*   m_path;
00057     KLineEdit*   m_secure;
00058 
00059     KHttpCookieList m_cookieList;
00060     int m_cookieNumber;
00061 
00062 };
00063 
00064 class KCookieWin : public KDialog
00065 {
00066     Q_OBJECT
00067 
00068 public :
00069     KCookieWin( QWidget *parent, KHttpCookieList cookieList, int defaultButton=0,
00070                 bool showDetails=false );
00071     ~KCookieWin();
00072 
00073     KCookieAdvice advice( KCookieJar *cookiejar, const KHttpCookie& cookie );
00074 
00075 private :
00076     QPushButton*   m_button;
00077     QRadioButton* m_onlyCookies, *m_allCookies, *m_allCookiesDomain;
00078     KCookieDetail* m_detailView;
00079 };
00080 
00081 #endif

KIOSlave

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal