libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
TransponderDatabase Class Reference
Inheritance diagram for TransponderDatabase:
Collaboration diagram for TransponderDatabase:

Public Types

typedef QVector< Transponder >::const_iterator const_iterator
 

Public Slots

void load ()
 
void download ()
 Starts the download of the transponder.
 

Signals

void loaded ()
 Gets emitted once the transponder has been loaded.
 
void error (const QString &msg)
 Gets emitted if the loading one of the sources fails.
 

Public Member Functions

 TransponderDatabase (bool autoLoad, unsigned int updatePeriod=7, QObject *parent=nullptr)
 
unsigned int dbAge () const
 
const TranspondergetAt (unsigned int idx) const
 
int rowCount (const QModelIndex &parent) const
 
int columnCount (const QModelIndex &parent) const
 
QVariant data (const QModelIndex &index, int role) const
 
const_iterator begin () const
 
const_iterator end () const
 

Protected Member Functions

bool load (const QString &filename)
 

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