|
| | DetectMetalinkState (DownloadPrivate &parent) |
| |
| void | enter () |
| |
| void | exit () |
| |
| void | onRequestStarted (NetworkRequest &) |
| |
| void | onRequestProgress (NetworkRequest &, off_t, off_t dlnow, off_t, off_t) |
| |
| void | onRequestFinished (NetworkRequest &req, const NetworkRequestError &err) |
| |
| const NetworkRequestError & | error () const |
| |
| SignalProxy< void() > | sigFinished () |
| |
| bool | toMetalinkGuard () const |
| |
| std::shared_ptr< DlMetaLinkInfoState > | toDlMetaLinkInfoState () |
| |
| bool | toSimpleDownloadGuard () const |
| |
| | BasicState (DownloadPrivate &sm) |
| |
| | BasicState (BasicState &&) noexcept=default |
| |
| | ~BasicState () override |
| |
| BasicState & | operator= (BasicState &&) noexcept=default |
| |
| DownloadPrivate & | stateMachine () |
| |
| const DownloadPrivate & | stateMachine () const |
| |
| | Base () |
| |
| virtual | ~Base () |
| |
| WeakPtr | parent () const |
| |
| void | addChild (const Base::Ptr &child) |
| |
| void | removeChild (const Ptr &child) |
| |
| const std::unordered_set< Ptr > & | children () const |
| |
| std::thread::id | threadId () const |
| |
| template<typename T > |
| std::vector< std::weak_ptr< T > > | findChildren () const |
| |
| template<typename T > |
| std::shared_ptr< T > | shared_this () const |
| |
| template<typename T > |
| std::shared_ptr< T > | shared_this () |
| |
| template<typename T > |
| std::weak_ptr< T > | weak_this () const |
| |
| template<typename T > |
| std::weak_ptr< T > | weak_this () |
| |
| template<typename SenderFunc , typename ReceiverFunc > |
| auto | connect (SenderFunc &&sFun, typename internal::MemberFunction< ReceiverFunc >::ClassType &recv, ReceiverFunc &&rFunc) |
| |
| template<typename SenderFunc , typename ReceiverFunc , typename ... Tracker> |
| std::enable_if_t< std::is_member_function_pointer_v< SenderFunc >, connection > | connectFunc (SenderFunc &&sFun, ReceiverFunc &&rFunc, const Tracker &...trackers) |
| |
|
| template<typename Obj , typename Functor > |
| static decltype(auto) | make_base_slot (Obj *o, Functor &&f) |
| |
| template<typename SenderFunc , typename ReceiverFunc > |
| static auto | connect (typename internal::MemberFunction< SenderFunc >::ClassType &s, SenderFunc &&sFun, typename internal::MemberFunction< ReceiverFunc >::ClassType &recv, ReceiverFunc &&rFunc) |
| |
| template<typename SenderFunc , typename ReceiverFunc , typename ... Tracker> |
| static auto | connectFunc (typename internal::MemberFunction< SenderFunc >::ClassType &s, SenderFunc &&sFun, ReceiverFunc &&rFunc, const Tracker &...trackers) |
| |
| static constexpr auto | stateId |
| |
| static constexpr bool | isFinal |
| |
| | Base (BasePrivate &dd) |
| |
| std::unique_ptr< BasePrivate > | d_ptr |
| |
State implementation for the metalink detection phase, this state issues a HEAD request while setting the magic "Accept: *\/\*, application/metalink+xml, application/metalink4+xml" header in the request to figure out if a metalink file is available or not.
In order to use metalink support the server needs to correctly return the metalink file content type, otherwise we proceed to not downloading a metalink file
Definition at line 37 of file detectmeta_p.h.