const int CatalogUrlRole = Qt::UserRole + 1;
const int CatalogIdRole = Qt::UserRole + 2;
+const int CatalogPackageCountRole = Qt::UserRole + 3;
+const int CatalogInstallCountRole = Qt::UserRole + 4;
class CatalogListModel : public QAbstractListModel
{
~CatalogListModel();
+ void refresh();
+
virtual int rowCount(const QModelIndex& parent) const;
virtual QVariant data(const QModelIndex& index, int role) const;