42 lines
1.1 KiB
C++
Executable File
42 lines
1.1 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Model for ParticipantsMoveDialog
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Gerlinde Rudolphus, SLSE, 2018-01-02
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <nglwidgets/ngltreeitem.h>
|
|
#include <Services/ParticipantManagement/ppm_dtc.h>
|
|
#include <QStringList>
|
|
|
|
//ParticipantManagement
|
|
#include <Plugins/ParticipantManagement/Gui/Common/participant_edit_model.h>
|
|
#include <ParticipantManagement/logger.h>
|
|
|
|
namespace ParticipantManagement
|
|
{
|
|
class ParticipantPlanningModel final : public ParticipantManagement::ParticipantEditModel
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ParticipantPlanningModel(QObject *parent,
|
|
const std::shared_ptr<ParticipantManagement::Interface::Dtc> &ppmDtc,
|
|
const std::shared_ptr<AdvancedSymbology::ForeignDataInterface> &asbIfc);
|
|
|
|
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
|
|
|
signals:
|
|
void newData();
|
|
|
|
private:
|
|
//void onParticipantChanged(const ParticipantManagement::Participant &data, DataModification modType);
|
|
|
|
NGL::INGLLogger &m_logger;
|
|
};
|
|
} // namespace ParticipantManagement
|