QCA::KeyStoreEntryWatcher Class Reference

Class to monitor the availability of a KeyStoreEntry. More...

#include <qca_keystore.h>

Inheritance diagram for QCA::KeyStoreEntryWatcher:

QObject Collaboration diagram for QCA::KeyStoreEntryWatcher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KeyStoreEntryWatcher (const KeyStoreEntry &e, QObject *parent=0)
KeyStoreEntry entry () const
void unavailable ()

Public Attributes

Q_SIGNALS __pad0__: void available()

Friends

class Private

Detailed Description

Class to monitor the availability of a KeyStoreEntry.

Some KeyStore types have the concept of an entry that can be available only part of the time (for example, a smart card that can be removed). This class allows you to identify when a KeyStoreEntry becomes available / unavailable.

Note:
You can also monitor availability of a whole KeyStore, using KeyStoreManager::keyStoreAvailable() signal, and the KeyStore::unavailable() signal.
See also:
KeyStore for more discussion on availability of keys and related objects.


Constructor & Destructor Documentation

QCA::KeyStoreEntryWatcher::KeyStoreEntryWatcher const KeyStoreEntry e,
QObject parent = 0
[explicit]
 

Standard constructor.

This creates an object that monitors the specified KeyStore entry, emitting available() and unavailable() as the entry becomes available and unavailable respectively.

Parameters:
e the KeyStoreEntry to monitor
parent the parent object for this object


Member Function Documentation

KeyStoreEntry QCA::KeyStoreEntryWatcher::entry  )  const
 

The KeyStoreEntry that is being monitored.

void QCA::KeyStoreEntryWatcher::unavailable  ) 
 

This signal is emitted when the entry that is being monitored becomes unavailble.


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 12:15:12 2007 for Qt Cryptographic Architecture by  doxygen 1.4.6