This commit is contained in:
2026-01-18 01:52:58 +03:00
parent 60090062dc
commit 46504c1b06
2 changed files with 21 additions and 6 deletions

View File

@@ -45,13 +45,14 @@ LicenseModel::~LicenseModel()
int LicenseModel::rowCount(const QModelIndex &parent) const
{
return 0;
return m_data.size();
}
int LicenseModel::columnCount(const QModelIndex &parent) const
{
return COLUMN_COUNT;
}
QVariant LicenseModel::data(const QModelIndex &index, int role) const
{
switch (role)
@@ -147,3 +148,18 @@ bool LicenseModel::prepareDatabase()
return true;
}
void LicenseModel::addClient(const LicenseItem &item)
{
}
void LicenseModel::deleteClient(const LicenseItem &item)
{
}
void LicenseModel::editClient(const LicenseItem &item)
{
}