19 #ifndef SATELLITESLISTMODEL_HPP
20 #define SATELLITESLISTMODEL_HPP
22 #include <QAbstractTableModel>
24 #include <QSharedPointer>
26 #include "Satellite.hpp"
48 void setSatelliteList(QList<SatelliteP>* satellites);
52 Qt::ItemFlags flags(
const QModelIndex& index)
const;
53 QVariant data(
const QModelIndex& index,
int role)
const;
54 bool setData(
const QModelIndex& index,
const QVariant& value,
int role);
55 int rowCount(
const QModelIndex& parent)
const;
56 int columnCount(
const QModelIndex& parent)
const;
75 void enableColoredNames(
bool enable =
true);
81 QList<SatelliteP>* satelliteList;
87 #endif // SATELLITESLISTMODEL_HPP