Qt Cryptographic Architecture
QCA::BasicContext Class Reference

#include <QtCrypto>

Collaboration diagram for QCA::BasicContext:

Protected Member Functions

 BasicContext (const BasicContext &from)
 
 BasicContext (Provider *parent, const QString &type)
 
- Protected Member Functions inherited from QCA::Provider::Context
 Context (const Context &from)
 
 Context (Provider *parent, const QString &type)
 

Additional Inherited Members

- Public Member Functions inherited from QCA::Provider::Context
virtual Contextclone () const =0
 
Providerprovider () const
 
bool sameProvider (const Context *c) const
 
QString type () const
 

Detailed Description

Base class to use for primitive provider contexts.

This class inherits Provider::Context and calls moveToThread(0) on itself, thereby disabling the event properties of the underlying QObject. Context types that need to be a QObject should inherit from Provider::Context, those that don't should inherit from BasicContext.

Constructor & Destructor Documentation

◆ BasicContext() [1/2]

QCA::BasicContext::BasicContext ( Provider * parent,
const QString & type )
protected

Standard constructor.

Parameters
parentthe parent provider for this context
typethe name of the provider context type

◆ BasicContext() [2/2]

QCA::BasicContext::BasicContext ( const BasicContext & from)
protected

Copy constructor.

Parameters
fromthe Context to copy from

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