Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void q3InitNetworkProtocols (  )  [related]

This function registers the network protocols for FTP and HTTP. You must call this function before you use QUrlOperator for these protocols.

Definition at line 41 of file q3network.cpp.

References Q3NetworkProtocol::registerNetworkProtocol().

{
#ifndef QT_NO_NETWORKPROTOCOL_FTP
    Q3NetworkProtocol::registerNetworkProtocol( "ftp", new Q3NetworkProtocolFactory< Q3Ftp > );
#endif
#ifndef QT_NO_NETWORKPROTOCOL_HTTP
    Q3NetworkProtocol::registerNetworkProtocol( "http", new Q3NetworkProtocolFactory< Q3Http > );
#endif
}


Generated by  Doxygen 1.6.0   Back to index