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

KIOSlave

kcookiejar.cpp File Reference

#include "kcookiejar.h"
#include <config.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <QtCore/QString>
#include <QtCore/QFile>
#include <QtCore/QDir>
#include <QtCore/QRegExp>
#include <QtCore/QTextStream>
#include <kurl.h>
#include <kdatetime.h>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <ksavefile.h>
#include <kdebug.h>
#include <algorithm>

Include dependency graph for kcookiejar.cpp:

Go to the source code of this file.


Defines

#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 L1(x)   QLatin1String(x)
#define MAX_COOKIES_PER_HOST   25
#define READ_BUFFER_SIZE   8192

Functions

static bool compareCookies (const KHttpCookie &item1, const KHttpCookie &item2)
static QString fixupDateTime (const QString &date)
QDebug operator<< (QDebug dbg, const KHttpCookieList &list)
QDebug operator<< (QDebug dbg, const KHttpCookie &cookie)
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)

Define 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 84 of file kcookiejar.cpp.

#define L1 ( x   )     QLatin1String(x)

Definition at line 91 of file kcookiejar.cpp.

#define MAX_COOKIES_PER_HOST   25

Definition at line 82 of file kcookiejar.cpp.

#define READ_BUFFER_SIZE   8192

Definition at line 83 of file kcookiejar.cpp.


Function Documentation

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

Definition at line 891 of file kcookiejar.cpp.

static QString fixupDateTime ( const QString &  date  )  [static]

Definition at line 649 of file kcookiejar.cpp.

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

Definition at line 1521 of file kcookiejar.cpp.

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

Definition at line 1515 of file kcookiejar.cpp.

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

Definition at line 1296 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 427 of file kcookiejar.cpp.

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

Definition at line 259 of file kcookiejar.cpp.

KIOSlave

Skip menu "KIOSlave"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • 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
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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