Changeset View
Changeset View
Standalone View
Standalone View
src/session.cpp
Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Line(s) | 114 | { | |||
---|---|---|---|---|---|
126 | connect(d->m_thread, &SessionThread::sslError, | 126 | connect(d->m_thread, &SessionThread::sslError, | ||
127 | d, &SessionPrivate::handleSslError); | 127 | d, &SessionPrivate::handleSslError); | ||
128 | } | 128 | } | ||
129 | 129 | | |||
130 | Session::~Session() | 130 | Session::~Session() | ||
131 | { | 131 | { | ||
132 | } | 132 | } | ||
133 | 133 | | |||
134 | void Session::setUseNetworkProxy(bool useProxy) | ||||
135 | { | ||||
136 | d->m_thread->setUseNetworkProxy(useProxy); | ||||
137 | } | ||||
138 | | ||||
134 | void Session::setUiProxy(const SessionUiProxy::Ptr &uiProxy) | 139 | void Session::setUiProxy(const SessionUiProxy::Ptr &uiProxy) | ||
135 | { | 140 | { | ||
136 | d->m_uiProxy = uiProxy; | 141 | d->m_uiProxy = uiProxy; | ||
137 | } | 142 | } | ||
138 | 143 | | |||
139 | SessionUiProxy::Ptr Session::uiProxy() const | 144 | SessionUiProxy::Ptr Session::uiProxy() const | ||
140 | { | 145 | { | ||
141 | return d->m_uiProxy; | 146 | return d->m_uiProxy; | ||
▲ Show 20 Lines • Show All 386 Lines • Show Last 20 Lines |