Qt 4.8
Classes | Functions
qsharednetworksession_p.h File Reference
#include "qnetworksession.h"
#include "qnetworkconfiguration.h"
#include <QHash>
#include <QSharedPointer>
#include <QWeakPointer>
#include <QMutex>

Go to the source code of this file.

Classes

class  QSharedNetworkSessionManager
 

Functions

uint qHash (const QNetworkConfiguration &config)
 

Function Documentation

◆ qHash()

uint qHash ( const QNetworkConfiguration config)

Definition at line 88 of file qsharednetworksession.cpp.

89 {
90  return ((uint)config.type()) | (((uint)config.bearerType()) << 8) | (((uint)config.purpose()) << 16);
91 }
BearerType bearerType() const
Returns the type of bearer used by this network configuration.
Purpose purpose() const
Returns the purpose of this configuration.
unsigned int uint
Definition: qglobal.h:996
Type type() const
Returns the type of the configuration.