qBittorrent
geoipmanager.cpp File Reference
#include "geoipmanager.h"
#include <QDateTime>
#include <QDir>
#include <QHostAddress>
#include <QLocale>
#include "base/logger.h"
#include "base/preferences.h"
#include "base/profile.h"
#include "base/utils/fs.h"
#include "base/utils/gzip.h"
#include "base/utils/io.h"
#include "downloadmanager.h"
#include "geoipdatabase.h"
Include dependency graph for geoipmanager.cpp:

Go to the source code of this file.

Variables

static const QString DATABASE_URL = QStringLiteral("https://download.db-ip.com/free/dbip-country-lite-%1.mmdb.gz")
 
static const char GEODB_FOLDER [] = "GeoDB"
 
static const char GEODB_FILENAME [] = "dbip-country-lite.mmdb"
 

Variable Documentation

◆ DATABASE_URL

const QString DATABASE_URL = QStringLiteral("https://download.db-ip.com/free/dbip-country-lite-%1.mmdb.gz")
static

Definition at line 46 of file geoipmanager.cpp.

Referenced by Net::GeoIPManager::downloadDatabaseFile().

◆ GEODB_FILENAME

const char GEODB_FILENAME[] = "dbip-country-lite.mmdb"
static

◆ GEODB_FOLDER

const char GEODB_FOLDER[] = "GeoDB"
static