Falkon Develop
Cross-platform Qt-based web browser
SBI_NetworkManager Class Reference

#include <sbi_networkmanager.h>

Inheritance diagram for SBI_NetworkManager:

Public Member Functions

 SBI_NetworkManager (const QString &settingsPath, QObject *parent=nullptr)
 
 ~SBI_NetworkManager ()
 
void loadSettings ()
 
QString currentProxyName () const
 
SBI_NetworkProxycurrentProxy () const
 
void setCurrentProxy (const QString &name)
 
void saveProxy (const QString &name, SBI_NetworkProxy *proxy)
 
void removeProxy (const QString &name)
 
QHash< QString, SBI_NetworkProxy * > proxies () const
 

Static Public Member Functions

static SBI_NetworkManagerinstance ()
 

Detailed Description

Definition at line 26 of file sbi_networkmanager.h.

Constructor & Destructor Documentation

◆ SBI_NetworkManager()

SBI_NetworkManager::SBI_NetworkManager ( const QString &  settingsPath,
QObject *  parent = nullptr 
)
explicit

Definition at line 28 of file sbi_networkmanager.cpp.

◆ ~SBI_NetworkManager()

SBI_NetworkManager::~SBI_NetworkManager ( )

Definition at line 135 of file sbi_networkmanager.cpp.

Member Function Documentation

◆ currentProxy()

SBI_NetworkProxy * SBI_NetworkManager::currentProxy ( ) const

Definition at line 73 of file sbi_networkmanager.cpp.

◆ currentProxyName()

QString SBI_NetworkManager::currentProxyName ( ) const

Definition at line 68 of file sbi_networkmanager.cpp.

◆ instance()

SBI_NetworkManager * SBI_NetworkManager::instance ( )
static

Definition at line 38 of file sbi_networkmanager.cpp.

◆ loadSettings()

void SBI_NetworkManager::loadSettings ( )

Definition at line 43 of file sbi_networkmanager.cpp.

◆ proxies()

QHash< QString, SBI_NetworkProxy * > SBI_NetworkManager::proxies ( ) const

Definition at line 115 of file sbi_networkmanager.cpp.

◆ removeProxy()

void SBI_NetworkManager::removeProxy ( const QString &  name)

Definition at line 101 of file sbi_networkmanager.cpp.

◆ saveProxy()

void SBI_NetworkManager::saveProxy ( const QString &  name,
SBI_NetworkProxy proxy 
)

Definition at line 87 of file sbi_networkmanager.cpp.

◆ setCurrentProxy()

void SBI_NetworkManager::setCurrentProxy ( const QString &  name)

Definition at line 78 of file sbi_networkmanager.cpp.


The documentation for this class was generated from the following files: