Generic representation of a RX group list.
More...
#include <rxgrouplist.hh>
|
void | modified () |
| Gets emitted whenever the group list gets modified.
|
|
|
| RXGroupList (const QString &name, QObject *parent=nullptr) |
| Constructor. More...
|
|
int | count () const |
| Returns the number of contacts within the group list.
|
|
void | clear () |
| Resets & clears this group list.
|
|
const QString & | name () const |
| Returns the name of this group list.
|
|
bool | setName (const QString &name) |
| Sets the name of this group list.
|
|
DigitalContact * | contact (int idx) const |
| Returns the contact at the given list index.
|
|
int | addContact (DigitalContact *contact) |
| Adds a contect to the list.
|
|
bool | remContact (DigitalContact *contact) |
| Removes the given contact from the list.
|
|
bool | remContact (int idx) |
| Removes the contact from the list at the given position.
|
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| Implementation of QAbstractListModel, returns the number of rows.
|
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| Implementation of QAbstractListModel, returns the table data at the given index.
|
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| Implementation of QAbstractListModel, returns the header data at the given section.
|
|
|
void | onContactDeleted (QObject *obj) |
| Internal used callback to handle deleted contacts.
|
|
Generic representation of a RX group list.
◆ RXGroupList()
RXGroupList::RXGroupList |
( |
const QString & |
name, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
name | Specifies the name of the group list. |
parent | QObject parent instance. |
The documentation for this class was generated from the following files:
- /home/hannes/Software/qdmr/lib/rxgrouplist.hh
- /home/hannes/Software/qdmr/lib/rxgrouplist.cc