26#include <QAbstractListModel>
27#include <QItemDelegate>
29#include <QSortFilterProxyModel>
48#define NEG_VAL(x) ((x)<0 ? (x) : (-x))
49#define CMA_NONE (10000)
50#define CMA_CUSTOM (10001)
56class QSortFilterProxyModel;
118 int role = Qt::DisplayRole);
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
QVariant data(int column, int role=Qt::DisplayRole) const
bool setData(int column, const QVariant &value, int role=Qt::DisplayRole)
void city_changed(struct city *pcity)
QVariant headerData(int section, Qt::Orientation orientation, int role) const
QVariant hide_data(int section) const
int columnCount(const QModelIndex &parent=QModelIndex()) const
QVariant menu_data(int section) const
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
QList< city_item * > city_list
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::DisplayRole)
int rowCount(const QModelIndex &index=QModelIndex()) const
void notify_city_changed(int row)
void update_city(struct city *pcity)
bool lessThan(const QModelIndex &left, const QModelIndex &right) const
bool(* TestCityFunc)(const struct city *, const struct universal *)
static struct fc_sockaddr_list * list
void popdown_city_report()
struct player_slot * slots