Class to monitor the availability of a KeyStoreEntry. More...
#include <QtCrypto>

Signals | |
| void | available () |
| void | unavailable () |
Public Member Functions | |
| KeyStoreEntry | entry () const |
| KeyStoreEntryWatcher (const KeyStoreEntry &e, QObject *parent=0) | |
Friends | |
| class | Private |
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.
| 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.
| e | the KeyStoreEntry to monitor | |
| parent | the parent object for this object |
| KeyStoreEntry QCA::KeyStoreEntryWatcher::entry | ( | ) | const |
The KeyStoreEntry that is being monitored.
| void QCA::KeyStoreEntryWatcher::available | ( | ) | [signal] |
This signal is emitted when the entry that is being monitored becomes available.
| void QCA::KeyStoreEntryWatcher::unavailable | ( | ) | [signal] |
This signal is emitted when the entry that is being monitored becomes unavailble.
1.6.3