![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
#include <tldextractor.h>
Classes | |
struct | HostParts |
Public Member Functions | |
~TLDExtractor () | |
bool | isDataLoaded () |
QString | TLD (const QString &host) |
QString | domain (const QString &host) |
QString | registrableDomain (const QString &host) |
QString | subdomain (const QString &host) |
HostParts | splitParts (const QString &host) |
QStringList | dataSearchPaths () const |
void | setDataSearchPaths (const QStringList &searchPaths=TLDExtractor::defaultDataSearchPaths()) |
bool | test () |
Static Public Member Functions | |
static TLDExtractor * | instance () |
Definition at line 27 of file tldextractor.h.
TLDExtractor::~TLDExtractor | ( | ) |
Definition at line 50 of file tldextractor.cpp.
QStringList TLDExtractor::dataSearchPaths | ( | ) | const |
Definition at line 226 of file tldextractor.cpp.
QString TLDExtractor::domain | ( | const QString & | host | ) |
Definition at line 150 of file tldextractor.cpp.
|
static |
Definition at line 40 of file tldextractor.cpp.
bool TLDExtractor::isDataLoaded | ( | ) |
Definition at line 55 of file tldextractor.cpp.
QString TLDExtractor::registrableDomain | ( | const QString & | host | ) |
Definition at line 200 of file tldextractor.cpp.
void TLDExtractor::setDataSearchPaths | ( | const QStringList & | searchPaths = TLDExtractor::defaultDataSearchPaths() | ) |
Definition at line 231 of file tldextractor.cpp.
TLDExtractor::HostParts TLDExtractor::splitParts | ( | const QString & | host | ) |
Definition at line 213 of file tldextractor.cpp.
QString TLDExtractor::subdomain | ( | const QString & | host | ) |
Definition at line 207 of file tldextractor.cpp.
bool TLDExtractor::test | ( | ) |
Definition at line 343 of file tldextractor.cpp.
QString TLDExtractor::TLD | ( | const QString & | host | ) |
Definition at line 60 of file tldextractor.cpp.