Qt Cryptographic Architecture: QCA::BasicContext Class Reference

Qt Cryptographic Architecture

Protected Member Functions | List of all members
QCA::BasicContext Class Reference
QCA provider API

`#include <QtCrypto>`

Collaboration diagram for QCA::BasicContext:
[legend]

## Protected Member Functions
| BasicContext (Provider *parent, const QString &type)
| BasicContext (const BasicContext &from)

## 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

  parent | the parent provider for this context
  type | the name of the provider context type

## ◆ BasicContext() [2/2]

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

Copy constructor.

Parameters

  from | the Context to copy from

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

- qca_core.h