LibDMRConf  0.5.0
A library to program DMR radios.
Public Member Functions | Public Attributes | List of all members
UserDatabase::User Class Reference

Represents the user information within the UserDatabase. More...

#include <userdatabase.hh>

Public Member Functions

 User ()
 Empty constructor.
 
 User (const QJsonObject &obj)
 Constructs entry from JSON object.
 
bool isValid () const
 Returns true if the entry is valid.
 
uint distance (uint id) const
 Returns the "distance" between this user and the given ID.
 

Public Attributes

uint id
 The DMR ID of the user.
 
QString call
 The callsign of the user.
 
QString name
 The name of the user.
 
QString surname
 The surname of the user.
 
QString country
 The country of the user.
 

Detailed Description

Represents the user information within the UserDatabase.


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