This repository has been archived on 2020-12-30. You can view files and clone it, but cannot push or open issues or pull requests.
NetworkPacketComposer/abstractguidededitormodel.h

27 lines
590 B
C
Raw Normal View History

2015-09-06 18:57:18 +02:00
#ifndef ABSTRACTGUIDEDEDITORMODEL_H
#define ABSTRACTGUIDEDEDITORMODEL_H
#include <cstdlib>
#include <QObject>
#include "guidededitorelement.h"
class AbstractGuidedEditorModel : public QObject
{
Q_OBJECT
public:
explicit AbstractGuidedEditorModel(QObject *parent = 0);
virtual ~AbstractGuidedEditorModel();
virtual uint getCount()=0;
virtual GuidedEditorElement& getElement(uint index) = 0;
virtual void setElementValue(const uint index, const QString value)= 0;
signals:
void dataChanged();
void dataChanged(uint index);
public slots:
};
#endif // ABSTRACTGUIDEDEDITORMODEL_H