Represents the base-class for all contact types, Analog (DTMF) or Digital (DMR).
More...
#include <contact.hh>
|
void | modified () |
| Gets emitted if the contact is modified.
|
|
|
const QString & | name () const |
| Returns the name of the contact.
|
|
bool | setName (const QString &name) |
| (Re)Sets the name of the contact.
|
|
bool | rxTone () const |
| Returns true if the ring-tone is enabled for this contact.
|
|
void | setRXTone (bool enable) |
| Enables/disables the ring-tone for this contact.
|
|
template<class T > |
bool | is () const |
| Typecheck contact. More...
|
|
template<class T > |
T * | as () |
| Typecast contact.
|
|
template<class T > |
const T * | as () const |
| Typecast contact.
|
|
Represents the base-class for all contact types, Analog (DTMF) or Digital (DMR).
◆ Contact()
Contact::Contact |
( |
const QString & |
name, |
|
|
bool |
rxTone = true , |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
protected |
Hidden constructor.
- Parameters
-
name | Specifies the name of the contact. |
rxTone | Specifies whether a ring-tone for this contact is used. |
parent | Specifies the QObject parent. |
◆ is()
template<class T >
bool Contact::is |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files:
- /home/hannes/Software/qdmr/lib/contact.hh
- /home/hannes/Software/qdmr/lib/contact.cc