some beginning updates to the serviceitemmodel class

This commit is contained in:
Chris Cochrun 2023-01-18 15:58:09 -06:00
parent 7a0586f44b
commit fd76b1f17c
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,7 @@
#define SERVICEITEMMODEL_H
#include "serviceitem.h"
#include "slidemodel.h"
#include <QAbstractListModel>
#include <qabstractitemmodel.h>
#include <qnamespace.h>
@ -12,7 +13,7 @@ class ServiceItemModel : public QAbstractListModel {
Q_OBJECT
public:
explicit ServiceItemModel(QObject *parent = nullptr);
explicit ServiceItemModel(QObject *parent = nullptr, SlideModel *slideModel = nullptr);
enum Roles {
NameRole = Qt::UserRole,