mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +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:
@@ -21,7 +21,7 @@ namespace BlackGui
|
||||
namespace Models
|
||||
{
|
||||
CLiveryListModel::CLiveryListModel(QObject *parent) :
|
||||
CListModelBase("ModelLiveryList", parent)
|
||||
CListModelDbObjects("ModelLiveryList", parent)
|
||||
{
|
||||
this->m_columns.addColumn(CColumn::standardString("id", CLivery::IndexDbIntegerKey, CDefaultFormatter::alignRightVCenter()));
|
||||
this->m_columns.addColumn(CColumn::standardString("code", CLivery::IndexCombinedCode));
|
||||
|
||||
Reference in New Issue
Block a user