#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.
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 | 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 QString | extractHostAndPorts (const QString &str, QList< int > *ports=0) |
| static QString | hostWithPort (const KHttpCookie *cookie) |
| 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 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 879 of file kcookiejar.cpp.
Definition at line 1313 of file kcookiejar.cpp.
| static QString hostWithPort | ( | const KHttpCookie * | cookie | ) | [static] |
Definition at line 1200 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 1282 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 408 of file kcookiejar.cpp.
| static void removeDuplicateFromList | ( | KHttpCookieList * | list, |
| KHttpCookie & | cookiePtr, | ||
| bool | nameMatchOnly = false, |
||
| bool | updateWindowId = false |
||
| ) | [static] |
Definition at line 253 of file kcookiejar.cpp.
KDE 4.6 API Reference