mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #568, specialized model class for models from DB
* support for keys * renamed to listmodeldbobjects (unified with views) * key type as template parameter * adjusted derived classes
This commit is contained in:
@@ -18,7 +18,7 @@ namespace BlackGui
|
||||
namespace Models
|
||||
{
|
||||
CCountryListModel::CCountryListModel(QObject *parent) :
|
||||
CListModelBase("CountryListModel", parent)
|
||||
CListModelDbObjects("CountryListModel", parent)
|
||||
{
|
||||
CColumn col("country", CCountry::IndexIcon);
|
||||
col.setSortPropertyIndex(CCountry::IndexIsoCode);
|
||||
|
||||
Reference in New Issue
Block a user