⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kcookieserver.h

📁 将konqueror浏览器移植到ARM9 2410中
💻 H
字号:
/*    This file is part of the KDE File Manager    Copyright (C) 1998 Waldo Bastian (bastian@kde.org)    This library is free software; you can redistribute it and/or    modify it under the terms of the GNU General Public License    version 2 as published by the Free Software Foundation.    This software is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU    General Public License for more details.    You should have received a copy of the GNU General Public License    along with this library; see the file COPYING. If not, write to    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,    Boston, MA 02111-1307, USA.*///----------------------------------------------------------------------------//// KDE Cookie Server// $Id: kcookieserver.h,v 1.15.2.1 2001/09/08 22:03:49 adawit Exp $#ifndef KCOOKIESERVER_H#define KCOOKIESERVER_H#include <dcopobject.h>#include <kuniqueapp.h>class KHttpCookieList;class KCookieJar;class KHttpCookie;class QTimer;class RequestList;class KCookieServer : public KUniqueApplication{  Q_OBJECT  K_DCOPpublic:  KCookieServer();  ~KCookieServer();  virtual int newInstance();k_dcop:  QString findCookies(QString);  QStringList findDomains();  QStringList findCookies(QValueList<int>,QString,QString,QString,QString);  QString findDOMCookies(QString);  void addCookies(QString, QCString, long);  void deleteCookie(QString, QString, QString, QString);  void deleteCookiesFromDomain(QString);  void deleteSessionCookies(long);  void deleteSessionCookiesFor(QString, long);  void deleteAllCookies();  void addDOMCookies(QString, QCString, long);  void setDomainAdvice(QString, QString);  QString getDomainAdvice(QString);  void reloadPolicy();  void shutdown();public:  bool cookiesPending(const QString &url);  void addCookies(const QString &url, const QCString &cookieHeader,                  long windowId, bool useDOMFormat);  void checkCookies(KHttpCookie *cookie, bool queue);public slots:  void slotSave();protected:  KCookieJar *mCookieJar;  KHttpCookieList *mPendingCookies;  RequestList *mRequestList;  QTimer *mTimer;  bool mAdvicePending;private:  virtual int newInstance(QValueList<QCString>) { return 0; }  bool cookieMatches(KHttpCookie*, QString, QString, QString, QString);  void putCookie(QStringList&, KHttpCookie*, const QValueList<int>&);  void saveCookieJar();};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -