#include "kprotocolmanager.h"#include <string.h>#include <unistd.h>#include <sys/utsname.h>#include <QtCore/QCoreApplication>#include <QtCore/QStringBuilder>#include <QtNetwork/QSslSocket>#include <QtDBus/QtDBus>#include <kdeversion.h>#include <kdebug.h>#include <kglobal.h>#include <klocale.h>#include <kconfiggroup.h>#include <ksharedconfig.h>#include <kstandarddirs.h>#include <kstringhandler.h>#include <kurl.h>#include <kmimetypetrader.h>#include <kio/slaveconfig.h>#include <kio/ioslave_defaults.h>#include <kio/http_slave_defaults.h>#include <kprotocolinfofactory.h>
Include dependency graph for kprotocolmanager.cpp:

Go to the source code of this file.
Defines | |
| #define | CFG_DEFAULT_UAGENT(X) |
| #define | PRIVATE_DATA KProtocolManagerPrivate *d = kProtocolManagerPrivate |
| #define | QL1C(x) QLatin1Char(x) |
| #define | QL1S(x) QLatin1String(x) |
Functions | |
| static QString | defaultUserAgentFromPreferredService () |
| static KProtocolInfo::Ptr | findProtocol (const KUrl &url) |
| static KConfigGroup | http_config () |
| static bool | revmatch (const char *host, const char *nplist) |
Define Documentation
| #define CFG_DEFAULT_UAGENT | ( | X | ) |
Value:
QL1S("Mozilla/5.0 (compatible; Konqueror/") % \ QString::number(KDE::versionMajor()) % QL1C('.') % QString::number(KDE::versionMinor()) % \ X % QL1S(") KHTML/") % \ QString::number(KDE::versionMajor()) % QL1C('.') % QString::number(KDE::versionMinor()) % \ QL1C('.') % QString::number(KDE::versionRelease()) % QL1S(" (like Gecko) Fedora/4.6.2-1.fc15")
Definition at line 85 of file kprotocolmanager.cpp.
| #define PRIVATE_DATA KProtocolManagerPrivate *d = kProtocolManagerPrivate |
Definition at line 92 of file kprotocolmanager.cpp.
| #define QL1C | ( | x | ) | QLatin1Char(x) |
Definition at line 49 of file kprotocolmanager.cpp.
| #define QL1S | ( | x | ) | QLatin1String(x) |
Definition at line 48 of file kprotocolmanager.cpp.
Function Documentation
| static QString defaultUserAgentFromPreferredService | ( | ) | [static] |
Definition at line 454 of file kprotocolmanager.cpp.
| static KProtocolInfo::Ptr findProtocol | ( | const KUrl & | url | ) | [static] |
Definition at line 780 of file kprotocolmanager.cpp.
| static KConfigGroup http_config | ( | ) | [static] |
Definition at line 124 of file kprotocolmanager.cpp.
| static bool revmatch | ( | const char * | host, |
| const char * | nplist | ||
| ) | [static] |
Definition at line 305 of file kprotocolmanager.cpp.
KDE 4.6 API Reference