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

KIOSlave

  • sources
  • kde-4.14
  • kdelibs
  • kioslave
  • http
  • kcookiejar
Macros | Functions
kcookiejar.cpp File Reference
#include "kcookiejar.h"
#include <kurl.h>
#include <kdatetime.h>
#include <ksystemtimezone.h>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <ksavefile.h>
#include <kdebug.h>
#include <QtCore/QString>
#include <QtCore/QFile>
#include <QtCore/QDir>
#include <QtCore/QRegExp>
#include <QtCore/QTextStream>
Include dependency graph for kcookiejar.cpp:

Go to the source code of this file.

Macros

#define IP_ADDRESS_EXPRESSION   "(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
 
#define MAX_COOKIES_PER_HOST   25
 
#define QL1C(x)   QLatin1Char(x)
 
#define QL1S(x)   QLatin1String(x)
 
#define READ_BUFFER_SIZE   8192
 

Functions

static bool compareCookies (const KHttpCookie &item1, const KHttpCookie &item2)
 
static qint64 epoch ()
 
static QString extractHostAndPorts (const QString &str, QList< int > *ports=0)
 
static QString hostWithPort (const KHttpCookie *cookie)
 
QDebug operator<< (QDebug dbg, const KHttpCookie &cookie)
 
QDebug operator<< (QDebug dbg, const KHttpCookieList &list)
 
static QDateTime parseDate (const QString &_value)
 
static const char * parseField (char *&buffer, bool keepQuotes=false)
 
static const char * parseNameValue (const char *header, QString &Name, QString &Value, bool keepQuotes=false, bool rfcQuotes=false)
 
static void removeDuplicateFromList (KHttpCookieList *list, KHttpCookie &cookiePtr, bool nameMatchOnly=false, bool updateWindowId=false)
 
static QString removeWeekday (const QString &value)
 
static qint64 toEpochSecs (const QDateTime &dt)
 

Macro Definition Documentation

#define IP_ADDRESS_EXPRESSION   "(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"

Definition at line 63 of file kcookiejar.cpp.

#define MAX_COOKIES_PER_HOST   25

Definition at line 61 of file kcookiejar.cpp.

#define QL1C (   x)    QLatin1Char(x)

Definition at line 69 of file kcookiejar.cpp.

#define QL1S (   x)    QLatin1String(x)

Definition at line 68 of file kcookiejar.cpp.

#define READ_BUFFER_SIZE   8192

Definition at line 62 of file kcookiejar.cpp.

Function Documentation

static bool compareCookies ( const KHttpCookie &  item1,
const KHttpCookie &  item2 
)
static

Definition at line 908 of file kcookiejar.cpp.

static qint64 epoch ( )
static

Definition at line 126 of file kcookiejar.cpp.

static QString extractHostAndPorts ( const QString &  str,
QList< int > *  ports = 0 
)
static

Definition at line 1363 of file kcookiejar.cpp.

static QString hostWithPort ( const KHttpCookie *  cookie)
static

Definition at line 1249 of file kcookiejar.cpp.

QDebug operator<< ( QDebug  dbg,
const KHttpCookie &  cookie 
)

Definition at line 1562 of file kcookiejar.cpp.

QDebug operator<< ( QDebug  dbg,
const KHttpCookieList &  list 
)

Definition at line 1568 of file kcookiejar.cpp.

static QDateTime parseDate ( const QString &  _value)
static

Definition at line 92 of file kcookiejar.cpp.

static const char* parseField ( char *&  buffer,
bool  keepQuotes = false 
)
static

Definition at line 1332 of file kcookiejar.cpp.

static const char* parseNameValue ( const char *  header,
QString &  Name,
QString &  Value,
bool  keepQuotes = false,
bool  rfcQuotes = false 
)
static

Definition at line 461 of file kcookiejar.cpp.

static void removeDuplicateFromList ( KHttpCookieList *  list,
KHttpCookie &  cookiePtr,
bool  nameMatchOnly = false,
bool  updateWindowId = false 
)
static

Definition at line 315 of file kcookiejar.cpp.

static QString removeWeekday ( const QString &  value)
static

Definition at line 72 of file kcookiejar.cpp.

static qint64 toEpochSecs ( const QDateTime &  dt)
static

Definition at line 121 of file kcookiejar.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:55 by doxygen 1.8.7 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 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • 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